summaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorMartin Arver <martin.arver@gmail.com>2006-03-09 17:38:28 +0000
committerMartin Arver <martin.arver@gmail.com>2006-03-09 17:38:28 +0000
commit40c917132c19cd4b65de553783c6f8d3dbe26b4b (patch)
tree3af22e95c4da0d79b3e0f9427f8a5b126dbaf0ce /manual
parent4a67c872e9aea6547b9c0b71872b8456cc80e124 (diff)
downloadrockbox-40c917132c19cd4b65de553783c6f8d3dbe26b4b.tar.gz
rockbox-40c917132c19cd4b65de553783c6f8d3dbe26b4b.tar.bz2
rockbox-40c917132c19cd4b65de553783c6f8d3dbe26b4b.zip
oops. Mysterious Makefile commit reverted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8978 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual')
-rw-r--r--manual/Makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/manual/Makefile b/manual/Makefile
index 43ba4a65a7..cc30a744b3 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -1,10 +1,17 @@
-DOCUMENT := rockbox-build
-LATEX := pdflatex
-include LaTeX.Rules
-GRAPHIC_FILES:=`find . -name \*.jpg \*.jpeg`
+.PHONY: all buildmanual clean
-.PHONY: all cleaner buildmanual output
+all: rockbox-build.tex
-buildmanual: rockbox-build.tex
- @cp $(OBJDIR)/rockbox-build.pdf $(OBJDIR)/../rockbox-$(ARCHOS)-$(VERSION).pdf
+rockbox-build.tex: rockbox.tex
+ @if [ "$(OBJDIR)" = "" ]; then echo Run make in you build diriectory!; false; fi
+ @mkdir -p $(OBJDIR)
+ @cp -R * $(OBJDIR)
+ @echo "\newcommand{\platform}{${ARCHOS}}" > $(OBJDIR)/rockbox-build.tex
+ @echo "\newcommand{\buildversion}{$(VERSION)}" >> $(OBJDIR)/rockbox-build.tex
+ @echo "\input{rockbox.tex}" >> $(OBJDIR)/rockbox-build.tex
+ @mv $(OBJDIR)/Makefile.pdflatex $(OBJDIR)/Makefile
+ make -C $(OBJDIR)
+clean:
+ @if [ "$(OBJDIR)" == "" ]; then echo Run make in you build diriectory!; false; fi
+ @rm -rf $(OBJDIR)/manual $(OBJDIR)/*.pdf