darcs patch: haskell98 should re-export Prelude and N... (and 4 more)
Thu Aug 13 19:26:59 PDT 2009 John Meacham
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
On Tue, Aug 18, 2009 at 9:24 PM, Mark Wotton
- 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
Most of this can be accomplished with judicious use of -prune.
--
Taral
participants (3)
-
John Meacham -
Mark Wotton -
Taral