summaryrefslogtreecommitdiffstats
path: root/manual
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2007-01-14 23:29:15 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2007-01-14 23:29:15 +0000
commitcb9fdf7f2425a0297dbeeded5e7065a5c318c977 (patch)
tree954726841534322052c345c5c3169620430c107d /manual
parent16c602f02391810b542b1a0a95c3293b995950f0 (diff)
downloadrockbox-cb9fdf7f2425a0297dbeeded5e7065a5c318c977.tar.gz
rockbox-cb9fdf7f2425a0297dbeeded5e7065a5c318c977.tar.bz2
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
Diffstat (limited to 'manual')
-rw-r--r--manual/Makefile12
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 @@
+# __________ __ ___.
+# Open \______ \ ____ ____ | | _\_ |__ _______ ___
+# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+# \/ \/ \/ \/ \/
+# $Id:$
+#
+
.PHONY: all buildmanual clean
all: manual-pdf
@@ -5,7 +14,8 @@ all: manual-pdf
manual-prep: rockbox.tex
@if [ "$(OBJDIR)" = "" ]; then echo Run make in you build directory!; false; fi
@mkdir -p $(OBJDIR)
- @cp -R * $(OBJDIR)
+ @find * -type d \! -regex '.*\.svn.*' | xargs -i mkdir -p $(OBJDIR)/{}
+ @find * -type f \! -regex '.*\.svn.*' | xargs -i cp {} $(OBJDIR)/{}
@perl credits.pl < ../docs/CREDITS | iconv -f utf-8 -t iso-8859-1 > $(OBJDIR)/CREDITS.tex
@echo "\newcommand{\platform}{${MANUALDEV}}" > $(OBJDIR)/rockbox-build.tex
@echo "\newcommand{\buildversion}{$(VERSION)}" >> $(OBJDIR)/rockbox-build.tex