summaryrefslogtreecommitdiff
path: root/manual/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'manual/Makefile')
-rw-r--r--manual/Makefile21
1 files changed, 7 insertions, 14 deletions
diff --git a/manual/Makefile b/manual/Makefile
index cc30a744b3..43ba4a65a7 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -1,17 +1,10 @@
1.PHONY: all buildmanual clean 1DOCUMENT := rockbox-build
2LATEX := pdflatex
3include LaTeX.Rules
4GRAPHIC_FILES:=`find . -name \*.jpg \*.jpeg`
2 5
3all: rockbox-build.tex 6.PHONY: all cleaner buildmanual output
4 7
5rockbox-build.tex: rockbox.tex 8buildmanual: rockbox-build.tex
6 @if [ "$(OBJDIR)" = "" ]; then echo Run make in you build diriectory!; false; fi 9 @cp $(OBJDIR)/rockbox-build.pdf $(OBJDIR)/../rockbox-$(ARCHOS)-$(VERSION).pdf
7 @mkdir -p $(OBJDIR)
8 @cp -R * $(OBJDIR)
9 @echo "\newcommand{\platform}{${ARCHOS}}" > $(OBJDIR)/rockbox-build.tex
10 @echo "\newcommand{\buildversion}{$(VERSION)}" >> $(OBJDIR)/rockbox-build.tex
11 @echo "\input{rockbox.tex}" >> $(OBJDIR)/rockbox-build.tex
12 @mv $(OBJDIR)/Makefile.pdflatex $(OBJDIR)/Makefile
13 make -C $(OBJDIR)
14 10
15clean:
16 @if [ "$(OBJDIR)" == "" ]; then echo Run make in you build diriectory!; false; fi
17 @rm -rf $(OBJDIR)/manual $(OBJDIR)/*.pdf