[Haskell-cafe] How to disable document in .cabal file?

Magicloud Magiclouds magicloud.magiclouds at gmail.com
Wed Jan 16 09:26:57 CET 2013


Never noticed copy command. Let me see....


On Wed, Jan 16, 2013 at 1:51 PM, Albert Y. C. Lai <trebla at vex.net> wrote:

> On 13-01-15 09:10 PM, Magicloud Magiclouds wrote:
>
>> So the only way is to use param every time I build this certain project?
>> Really hoping I could disable it in project.cabal ....
>>
>
> The param is for "cabal install" only. So don't use "cabal install".
>
> cabal configure  # may be skipped usually
> cabal build
> cabal copy
>
> If your project is a library (as opposed to an executable): add
> cabal register
>
> Why this is not controlled in project.cabal: The author of the project
> should not control whether users build docs or not.
>
>
> P.S. Ivan, --enable-documentation and --disable-documentation are not even
> valid flags to "cabal configure".
>
>
> ______________________________**_________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/**mailman/listinfo/haskell-cafe<http://www.haskell.org/mailman/listinfo/haskell-cafe>
>



-- 
竹密岂妨流水过
山高哪阻野云飞

And for G+, please use magiclouds#gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130116/04d48122/attachment.htm>


More information about the Haskell-Cafe mailing list