diff options
author | Simon Marlow <marlowsd@gmail.com> | 2010-02-25 13:16:16 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2010-02-25 13:16:16 +0000 |
commit | b1b95df69d97f279018b08d9e7c672318055bac4 (patch) | |
tree | 1063c106b67c6f4874a879f14e91f83e49b8c47f /docs | |
parent | eee5df343d918ce18f8c0146e0f46d5acc3d926b (diff) | |
download | haskell-b1b95df69d97f279018b08d9e7c672318055bac4.tar.gz |
hack to make the docs build again in a lndir build tree (see comments)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/ghc.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/users_guide/ghc.mk b/docs/users_guide/ghc.mk index 9cb7172a34..f78ebca2f3 100644 --- a/docs/users_guide/ghc.mk +++ b/docs/users_guide/ghc.mk @@ -26,6 +26,12 @@ $(eval $(call docbook,docs/users_guide,users_guide)) build_ug_book = docs/users_guide/ug-book.xml src_ug_book = $(dir $(realpath $(dir $(build_ug_book))/ug-book.xml.in))ug-book.xml +# ... and similarly for ug-ent.xml, which is now generated by configure from +# ug-ent.xml.in --SDM (2010-02-25) + +build_ug_ent = docs/users_guide/ug-ent.xml +src_ug_ent = $(dir $(realpath $(dir $(build_ug_ent))/ug-ent.xml.in))ug-ent.xml + html_docs/users_guide : docs/users_guide/users_guide/prof_scc.png docs/users_guide/users_guide/prof_scc.png : \ @@ -42,3 +48,11 @@ docs/users_guide/users_guide.pdf docs/users_guide/users_guide.ps: $(src_ug_book) endif endif +ifneq "$(build_ug_ent)" "$(src_ug_ent)" +$(src_ug_ent) : $(build_ug_ent) + "$(CP)" $< $@ +ifneq "$(BINDIST)" "YES" +docs/users_guide/users_guide.pdf docs/users_guide/users_guide.ps: $(src_ug_ent) +endif +endif + |