From c34d7dd7c5d01910e5a73b1da3a72ad1a20fa692 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Thu, 28 May 2009 11:16:08 +0000 Subject: [PATCH] fix it so that 'make' on its own works even if we're not building docs --- rules/docbook.mk | 3 +++ 1 file changed, 3 insertions(+) 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) -- 1.7.10.4