summaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-08-04 21:38:06 -0400
committerSolomon Peachy <pizza@shaftnet.org>2019-08-05 05:01:57 +0200
commit0d3ea8231fa7ffe12be52af5bd7c1b41e0e06dfb (patch)
tree2306a4ae21c07d00c242f8a5f525f782fe204112 /manual
parent8143e4437bdcb1c2b25013cc285834b224d8d93c (diff)
downloadrockbox-0d3ea8231fa7ffe12be52af5bd7c1b41e0e06dfb.tar.gz
rockbox-0d3ea8231fa7ffe12be52af5bd7c1b41e0e06dfb.tar.bz2
rockbox-0d3ea8231fa7ffe12be52af5bd7c1b41e0e06dfb.zip
Update documentation build to use saner version extraction
Patch by Igor Poretsky Change-Id: I0c61d42dcac79b72c6b13d700732237a845f676e
Diffstat (limited to 'manual')
-rw-r--r--manual/Makefile2
-rw-r--r--manual/Makefile.pdflatex2
2 files changed, 2 insertions, 2 deletions
diff --git a/manual/Makefile b/manual/Makefile
index 410d5a68f5..e1d3c1fb81 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -18,7 +18,7 @@ INCLUDES= $(TARGET_INC) -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I. -I$(BUILDDI
.PHONY: all buildmanual clean objdir-check
MANFILE := rockbox-build
-VERSION= `$(TOOLSDIR)/version.sh $(ROOTDIR)`
+VERSION ?= $(shell $(TOOLSDIR)/version.sh $(ROOTDIR))
.PHONY: $(OBJDIR)/version.tex $(OBJDIR)/$(MANFILE).tex
diff --git a/manual/Makefile.pdflatex b/manual/Makefile.pdflatex
index c533e0fed0..ad58315606 100644
--- a/manual/Makefile.pdflatex
+++ b/manual/Makefile.pdflatex
@@ -6,7 +6,7 @@ HTLATEX := htlatex
HTOPTS1 := rockbox-html,charset=utf-8,early_
HTOPTS2 := " -utf8 -cmozhtf"
HTOPTS3 := "-dhtml/ -cvalidate"
-VERSION=`$(TOOLSDIR)/version.sh $(ROOTDIR)`
+VERSION ?= $(shell $(TOOLSDIR)/version.sh $(ROOTDIR))
SPLITHTML ?= 2
.PHONY: all cleaner buildmanual output