From: Simon Marlow Date: Thu, 28 May 2009 11:16:08 +0000 (+0000) Subject: fix it so that 'make' on its own works even if we're not building docs X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=c34d7dd7c5d01910e5a73b1da3a72ad1a20fa692;p=ghc-hetmet.git fix it so that 'make' on its own works even if we're not building docs --- diff --git a/rules/docbook.mk b/rules/docbook.mk index ce014c8..75a6907 100644 --- 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) +# 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)