diff options
author | Martin Arver <martin.arver@gmail.com> | 2006-03-16 11:00:29 +0000 |
---|---|---|
committer | Martin Arver <martin.arver@gmail.com> | 2006-03-16 11:00:29 +0000 |
commit | 42257940fb69f3cc8e552bcafe8a27ce1696b708 (patch) | |
tree | 8038456101bb9152daf96bfcee5e6d0f0807079f /manual/Makefile | |
parent | 9dae78e4816d4631dacc2f357011b3f429e00333 (diff) | |
download | rockbox-42257940fb69f3cc8e552bcafe8a27ce1696b708.tar.gz rockbox-42257940fb69f3cc8e552bcafe8a27ce1696b708.zip |
Adds feature specific options to the platforms. It is now possible to include a section by for instance \opt{HAVE_LCD_BITMAP}{...} for targets with bitmap displays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9057 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual/Makefile')
-rw-r--r-- | manual/Makefile | 21 |
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 | 1 | DOCUMENT := rockbox-build |
2 | LATEX := pdflatex | ||
3 | include LaTeX.Rules | ||
4 | GRAPHIC_FILES:=`find . -name \*.jpg \*.jpeg` | ||
2 | 5 | ||
3 | all: rockbox-build.tex | 6 | .PHONY: all cleaner buildmanual output |
4 | 7 | ||
5 | rockbox-build.tex: rockbox.tex | 8 | buildmanual: 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 | ||
15 | clean: | ||
16 | @if [ "$(OBJDIR)" == "" ]; then echo Run make in you build diriectory!; false; fi | ||
17 | @rm -rf $(OBJDIR)/manual $(OBJDIR)/*.pdf | ||