summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--manual/Makefile2
-rw-r--r--manual/Makefile.pdflatex1
2 files changed, 3 insertions, 0 deletions
diff --git a/manual/Makefile b/manual/Makefile
index b0eee3df3c..de86edef5a 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -14,6 +14,8 @@ INCLUDES= $(TARGET_INC) -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I. -I$(BUILDDI
.PHONY: all buildmanual clean
MANFILE := rockbox-build
+VERSION= `$(TOOLSDIR)/version.sh $(ROOTDIR)`
+
all: manual-pdf
features: $(OBJDIR)/features
diff --git a/manual/Makefile.pdflatex b/manual/Makefile.pdflatex
index ee6c8bf8dc..9e9fd28e8e 100644
--- a/manual/Makefile.pdflatex
+++ b/manual/Makefile.pdflatex
@@ -6,6 +6,7 @@ HTLATEX := htlatex
HTOPTS1 := rockbox-html,charset=utf-8,early_
HTOPTS2 := " -utf8 -cmozhtf"
HTOPTS3 := "-dhtml/ -cvalidate"
+VERSION=`$(TOOLSDIR)/version.sh $(ROOTDIR)`
.PHONY: all cleaner buildmanual output