diff options
author | Achim Gratz <Stromeko@Stromeko.DE> | 2012-08-25 08:35:02 +0200 |
---|---|---|
committer | Achim Gratz <Stromeko@Stromeko.DE> | 2012-08-26 09:25:34 +0200 |
commit | f8cc3189f5ec9a3cb79d7302bd8d396bd6ce34ac (patch) | |
tree | ae1a2907e1300135162886e139f5b7a329055fd0 | |
parent | 48c01d3a110bcdba0019603c16aeb2567006c1eb (diff) | |
download | org-mode-f8cc3189f5ec9a3cb79d7302bd8d396bd6ce34ac.tar.gz |
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.
-rw-r--r-- | doc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile index caf8eca..fe23328 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) \ |