Older versions of xargs doesn't know -I (especially the vmware image one), so use find's -exec instead. Hopefully the last fix for this.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12026 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2007-01-16 20:18:17 +00:00
parent 728dd279eb
commit 7d19c0f135

View file

@ -14,8 +14,8 @@ all: manual-pdf
manual-prep: rockbox.tex
@if [ "$(OBJDIR)" = "" ]; then echo Run make in you build directory!; false; fi
@mkdir -p $(OBJDIR)
@find * -type d \! -regex '.*\.svn.*' | xargs -I {} mkdir -p $(OBJDIR)/{}
@find * -type f \! -regex '.*\.svn.*' | xargs -I {} cp {} $(OBJDIR)/{}
find * -type d \! -regex '.*\.svn.*' -exec mkdir -p $(OBJDIR)/{} \;
find * -type f \! -regex '.*\.svn.*' -exec 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