summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gratz <Stromeko@Stromeko.DE>2012-04-21 15:10:30 +0200
committerBastien Guerry <bzg@altern.org>2012-04-21 16:09:02 +0200
commitf6c2848dfb1d45fae062893656ddeaff01671bc0 (patch)
tree3e7628764df8db7cdabbd179bf85b724550a51d0
parentcd053cc12f9c76862da37ad651e46ca3ac99f5c6 (diff)
downloadorg-mode-f6c2848dfb1d45fae062893656ddeaff01671bc0.tar.gz
* add missing dependencies on org-version.inc
* doc/Makefile: org-version.inc must be a dependency of "pdf" and "html"
-rw-r--r--doc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 7672664..83980cd 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -24,6 +24,7 @@ guide:: orgguide.texi
../UTILITIES/guidesplit.pl $@/*
org-version.inc:
+ @echo "org-version: $(ORGVERSION) ($(GITVERSION))"
@echo "@c automatically generated, do not edit" > org-version.inc
@echo "@set VERSION $(ORGVERSION) ($(GITVERSION))" >> org-version.inc
@echo "@set DATE $(DATE)" >> org-version.inc
@@ -47,18 +48,17 @@ clean-install:
.SUFFIXES: .texi .tex .txt
-%: %.texi
- $(MAKE) org-version.inc
+%: %.texi org-version.inc
$(MAKEINFO) --no-split $< -o $@
%.pdf: LC_ALL=C # work around a bug in texi2dvi
%.pdf: LANG=C # work around a bug in texi2dvi
-%.pdf: %.texi
+%.pdf: %.texi org-version.inc
$(TEXI2PDF) $<
%.pdf: %.tex
PDFLATEX=$(PDFTEX) $(TEXI2PDF) $<
-%.html: %.texi
+%.html: %.texi org-version.inc
$(TEXI2HTML) --no-split -o $@ $<
../UTILITIES/manfull.pl $@