Change how the dblatex/lndir problem is worked around
authorIan Lynagh <igloo@earth.li>
Tue, 24 Aug 2010 13:09:38 +0000 (13:09 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 24 Aug 2010 13:09:38 +0000 (13:09 +0000)
commit4e7bbe99d475acc47fed45124bf748f3e258a702
tree231356727ddd949678ec9cb7be0c6328909e085b
parentaf199e4953c6c75488a7c62b27cddf9fac09af84
Change how the dblatex/lndir problem is worked around
Hack: dblatex normalises the name of the main input file using
os.path.realpath, which means that if we're in a linked build tree,
it find the real source files rather than the symlinks in our link
tree. This is fine for the static sources, but it means it can't
find the generated sources.

We therefore also generate the main input file, so that it really
is in the link tree, and thus dblatex can find everything.
docs/users_guide/ghc.mk
utils/mkUserGuidePart/Main.hs