From f6c2848dfb1d45fae062893656ddeaff01671bc0 Mon Sep 17 00:00:00 2001 From: Achim Gratz Date: Sat, 21 Apr 2012 15:10:30 +0200 Subject: [PATCH] * add missing dependencies on org-version.inc * doc/Makefile: org-version.inc must be a dependency of "pdf" and "html" --- doc/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index 7672664af..83980cdc8 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 $@