Review at  https://gerrit.osmocom.org/3984

fix make deps: join hint_to_remove_draft_mode to build step

Change-Id: Iecf8e18ce2f1dac61bf55019e1fec601b33abb95
---
M build/Makefile.asciidoc.inc
1 file changed, 1 insertion(+), 4 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals 
refs/changes/84/3984/1

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 @@
 
 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)

-- 
To view, visit https://gerrit.osmocom.org/3984
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iecf8e18ce2f1dac61bf55019e1fec601b33abb95
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofm...@sysmocom.de>

Reply via email to