[jhc] darcs patch: haskell98 should re-export Prelude and N... (and 4 more)

Mark Wotton mwotton at gmail.com
Wed Aug 19 00:24:49 EDT 2009


On 19/08/2009, at 2:12 PM, John Meacham wrote:
> -manual: utils/stitch.prl src/FlagDump.mkd src/FlagOpts.mkd  
> options.mkd
> -	find . ! -wholename '*/examples/*'  ! -wholename '*/_darcs/*' ! - 
> wholename '*/drift_processed/*'  ! -wholename '*/regress/*'  \( - 
> name '*.hs' -o -name '*.hsc' -o -name '*.mkd' -o -wholename '*/src/ 
> data/rts/*.c' \) | xargs perl utils/stitch.prl > manual.mkd
> +manual: utils/stitch.prl src/FlagDump.mkd src/FlagOpts.mkd  
> options.mkd docs/*.mkd
> +	find . ! -wholename */jhc-*/* ! -wholename '*/examples/*'  ! - 
> wholename '*/_darcs/*' ! -wholename '*/drift_processed/*'  ! - 
> wholename '*/regress/*'  \( -name '*.hs' -o -name '*.hsc' -o -name  
> '*.mkd' -o -wholename '*/src/data/rts/*.c' \) | xargs perl utils/ 
> stitch.prl > manual.mkd
> 	pandoc manual.mkd --toc -s -f markdown -t html -s -c manual.css -o  
> $@.html
>

meant to mention, the use of -wholename restricts you to using GNU  
find. It's not totally critical to building, obviously, but it might  
be worth mentioning or working around. (Doesn't work on Mac OS X  
unless you've deliberately gnu-ified your system.)

mark


More information about the jhc mailing list