From cb9fdf7f2425a0297dbeeded5e7065a5c318c977 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sun, 14 Jan 2007 23:29:15 +0000 Subject: 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 --- manual/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3