projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make the clean_libraries target work, so you can "make clean" in libraries/
[ghc-hetmet.git]
/
rules
/
docbook.mk
diff --git
a/rules/docbook.mk
b/rules/docbook.mk
index
ce014c8
..
75a6907
100644
(file)
--- a/
rules/docbook.mk
+++ b/
rules/docbook.mk
@@
-19,6
+19,9
@@
define docbook
$(call clean-target,$1,docbook,$1/$2 $1/$2.pdf $1/$2.ps)
$(call clean-target,$1,docbook,$1/$2 $1/$2.pdf $1/$2.ps)
+# empty "all_$1" target just in case we're not building docs at all
+$(call all-target,$1,)
+
ifeq "$$(BUILD_DOCBOOK_HTML)" "YES"
$(call all-target,$1,html_$1)
ifeq "$$(BUILD_DOCBOOK_HTML)" "YES"
$(call all-target,$1,html_$1)