From f8cc3189f5ec9a3cb79d7302bd8d396bd6ce34ac Mon Sep 17 00:00:00 2001 From: Achim Gratz Date: Sat, 25 Aug 2012 08:35:02 +0200 Subject: [PATCH] Makefile: deactivate perl scripts unless server configuration is active * doc/Makefile: Do not use perl scripts in util/ unless the server configuration $(SERVERMK) is set. --- doc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/Makefile b/doc/Makefile index caf8eca3b..fe23328f4 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -15,6 +15,7 @@ pdf: org.pdf orgguide.pdf card: orgcard.pdf orgcard_letter.pdf orgguide.pdf +ifneq ($(SERVERMK),) manual guide:: -$(RMR) $@ $(MKDIR) $@ @@ -24,6 +25,7 @@ manual:: org.texi org-version.inc guide:: orgguide.texi org-version.inc $(TEXI2HTML) -o $@ $< ../utils/guidesplit.pl $@/* +endif org-version.inc: org.texi @echo "org-version: $(ORGVERSION) ($(GITVERSION))" @@ -61,10 +63,12 @@ clean-install: %.html: %.texi org-version.inc $(TEXI2HTML) --no-split -o $@ $< +ifneq ($(SERVERMK),) ../utils/manfull.pl $@ %.txt: %.tex perl ../utils/orgcard2txt.pl $< > $@ +endif %_letter.tex: %.tex $(BATCH) \ -- 2.11.4.GIT