1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Dominik Riebeling 2007-01-14 23:29:15 +00:00
parent 16c602f023
commit cb9fdf7f24

View file

@ -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