summaryrefslogtreecommitdiff
path: root/rules/docbook.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-01-15 23:19:27 +0000
committerIan Lynagh <igloo@earth.li>2011-01-15 23:19:27 +0000
commita3be88fd60cc63b97ec8509f46a8d93025760792 (patch)
treeeb73ab10e25592144b88a4dc80edd99adc18ea40 /rules/docbook.mk
parent18fe16c9d3468c818d4fd650f47cfd6971e578b5 (diff)
downloadhaskell-a3be88fd60cc63b97ec8509f46a8d93025760792.tar.gz
Build system improvements
We no longer use dummy-ghc; instead we don't configure most packages until the stage1 compiler is available. We also now use Cabal for building the ghc-bin package. There are a couple more sanity checks too.
Diffstat (limited to 'rules/docbook.mk')
-rw-r--r--rules/docbook.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/docbook.mk b/rules/docbook.mk
index 8488de1484..ebc37517be 100644
--- a/rules/docbook.mk
+++ b/rules/docbook.mk
@@ -25,10 +25,12 @@ $(call all-target,$1,)
.PHONY: html_$1
+ifeq "$$(phase)" ""
ifeq "$$(BUILD_DOCBOOK_HTML)" "YES"
$(call all-target,$1,html_$1)
INSTALL_HTML_DOC_DIRS += $1/$2
endif
+endif
html_$1 : $1/$2/index.html
@@ -47,10 +49,12 @@ endif
.PHONY: ps_$1
+ifeq "$$(phase)" ""
ifeq "$$(BUILD_DOCBOOK_PS)" "YES"
$(call all-target,$1,ps_$1)
INSTALL_DOCS += $1/$2.ps
endif
+endif
ps_$1 : $1/$2.ps
@@ -60,10 +64,12 @@ $1/$2.ps: $$($1_DOCBOOK_SOURCES)
[ -f $$@ ]
endif
+ifeq "$$(phase)" ""
ifeq "$$(BUILD_DOCBOOK_PDF)" "YES"
$(call all-target,$1,pdf_$1)
INSTALL_DOCS += $1/$2.pdf
endif
+endif
.PHONY: pdf_$1
pdf_$1 : $1/$2.pdf