Commit b1b95df6 authored by Simon Marlow's avatar Simon Marlow
Browse files

hack to make the docs build again in a lndir build tree (see comments)

parent eee5df34
...@@ -26,6 +26,12 @@ $(eval $(call docbook,docs/users_guide,users_guide)) ...@@ -26,6 +26,12 @@ $(eval $(call docbook,docs/users_guide,users_guide))
build_ug_book = docs/users_guide/ug-book.xml 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 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 html_docs/users_guide : docs/users_guide/users_guide/prof_scc.png
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) ...@@ -42,3 +48,11 @@ docs/users_guide/users_guide.pdf docs/users_guide/users_guide.ps: $(src_ug_book)
endif endif
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment