[darcs-users] darcs patch: tweak Darcs.Repository.Prefs for haddock

Eric Kow eric.kow at gmail.com
Sat Jun 28 08:56:41 UTC 2008


> Hum. That is something of a problem then. Do you have any ideas on how this could be fixed? The / and * are fairly reliable at breaking Haddock on my end.

I don't think the following is a very nice solution, but in one of my
projects, I asked my makefile to strip all the literate stuff,
creating plain Haskel files that I would then run haddock on:

$(SOURCE_HSD_1): %.hsd: %.lhs
        ghc -cpp -E -optP-P -ignore-scc -D__HADDOCK__ $< -o $@

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9


More information about the darcs-users mailing list