diff options
Diffstat (limited to 'manual')
-rw-r--r-- | manual/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/manual/Makefile b/manual/Makefile index 17964fa8d1..8a8b7c8494 100644 --- a/manual/Makefile +++ b/manual/Makefile | |||
@@ -1,3 +1,12 @@ | |||
1 | # __________ __ ___. | ||
2 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
3 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
4 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
5 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
6 | # \/ \/ \/ \/ \/ | ||
7 | # $Id:$ | ||
8 | # | ||
9 | |||
1 | .PHONY: all buildmanual clean | 10 | .PHONY: all buildmanual clean |
2 | 11 | ||
3 | all: manual-pdf | 12 | all: manual-pdf |
@@ -5,7 +14,8 @@ all: manual-pdf | |||
5 | manual-prep: rockbox.tex | 14 | manual-prep: rockbox.tex |
6 | @if [ "$(OBJDIR)" = "" ]; then echo Run make in you build directory!; false; fi | 15 | @if [ "$(OBJDIR)" = "" ]; then echo Run make in you build directory!; false; fi |
7 | @mkdir -p $(OBJDIR) | 16 | @mkdir -p $(OBJDIR) |
8 | @cp -R * $(OBJDIR) | 17 | @find * -type d \! -regex '.*\.svn.*' | xargs -i mkdir -p $(OBJDIR)/{} |
18 | @find * -type f \! -regex '.*\.svn.*' | xargs -i cp {} $(OBJDIR)/{} | ||
9 | @perl credits.pl < ../docs/CREDITS | iconv -f utf-8 -t iso-8859-1 > $(OBJDIR)/CREDITS.tex | 19 | @perl credits.pl < ../docs/CREDITS | iconv -f utf-8 -t iso-8859-1 > $(OBJDIR)/CREDITS.tex |
10 | @echo "\newcommand{\platform}{${MANUALDEV}}" > $(OBJDIR)/rockbox-build.tex | 20 | @echo "\newcommand{\platform}{${MANUALDEV}}" > $(OBJDIR)/rockbox-build.tex |
11 | @echo "\newcommand{\buildversion}{$(VERSION)}" >> $(OBJDIR)/rockbox-build.tex | 21 | @echo "\newcommand{\buildversion}{$(VERSION)}" >> $(OBJDIR)/rockbox-build.tex |