aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-09-18 16:22:11 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2017-09-19 02:43:28 +0200
commit0e3e4c217add2744307b81d3e8c715c3ddc2c119 (patch)
tree80480b029f187b294431de135f8dfcda3986b153
parent60ccbe55c534c533779d816187d838339cfdce86 (diff)
fix make deps: join hint_to_remove_draft_mode to build step
-rw-r--r--build/Makefile.asciidoc.inc5
1 files changed, 1 insertions, 4 deletions
diff --git a/build/Makefile.asciidoc.inc b/build/Makefile.asciidoc.inc
index 660d72a..e088624 100644
--- a/build/Makefile.asciidoc.inc
+++ b/build/Makefile.asciidoc.inc
@@ -29,14 +29,11 @@ A2X_OPTS := -L --asciidoc-opts="$(ASCIIDOC_OPTS)" --dblatex-opts="$(DBLATEX_OPTS
all: $(ASCIIDOCPDFS)
-.PHONY: hint_to_remove_draft_mode
-hint_to_remove_draft_mode:
+$(ASCIIDOCPDFS): %.pdf: %.adoc %-docinfo.xml $(ASCIIDOCSTYLE) $(TOPDIR)/common/chapters/*.adoc
@test -n "$(BUILD_RELEASE)" && echo -e "\n\n\
NOTE: TO REMOVE DRAFT MODE, YOU NEED TO EDIT build/custom-dblatex.sty\n\
and remove three lines starting with '% \"DRAFT\" on first page'\n" \
|| true
-
-$(ASCIIDOCPDFS): %.pdf: %.adoc %-docinfo.xml $(ASCIIDOCSTYLE) $(TOPDIR)/common/chapters/*.adoc hint_to_remove_draft_mode
a2x $(A2X_OPTS) $< || asciidoc -v $(ASCIIDOC_OPTS) $<
check: $(ASCIIDOC_CHECKS)