diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2007-01-14 23:29:15 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2007-01-14 23:29:15 +0000 |
commit | cb9fdf7f2425a0297dbeeded5e7065a5c318c977 (patch) | |
tree | 954726841534322052c345c5c3169620430c107d | |
parent | 16c602f02391810b542b1a0a95c3293b995950f0 (diff) | |
download | rockbox-cb9fdf7f2425a0297dbeeded5e7065a5c318c977.tar.gz rockbox-cb9fdf7f2425a0297dbeeded5e7065a5c318c977.zip |
Make sure to not copy special .svn files when preparing to build the manual.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12013 a1c6a512-1295-4272-9138-f99709370657
-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 |