Skip to content
Browse files

s/cp -a /cp -Rp/ for macos compatibility

  • Loading branch information...
1 parent f410996 commit 98b5975e4db54a2a8d1cc894b651ea4258e11b20 @docelic docelic committed Oct 7, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 Makefile
View
6 Makefile
@@ -90,15 +90,15 @@ $O:
OUTPUT/files: $(shell find files) bin/dbgen
echo "C $@/"
rm -rf $@/
- cp -a files $O/
+ cp -Rp files $O/
rm -rf `find $@ -name CVS`
rm -rf `find $@ -name .git`
cp bin/dbgen $O/files/
cd files; for p in *; do \
if test "$$p" != "CVS"; then \
if test "$$p" != ".git"; then \
if test -d "$$p"; then \
- cp -a $$p ../$O/files/; \
+ cp -Rp $$p ../$O/files/; \
tar --exclude=CVS --exclude=.git -cf ../$O/files/$$p.tar $$p; \
tar --exclude=CVS --exclude=.git -zcf ../$O/files/$$p.tar.gz $$p; \
tar --exclude=CVS --exclude=.git -jcf ../$O/files/$$p.tar.bz2 $$p \
@@ -109,7 +109,7 @@ OUTPUT/files: $(shell find files) bin/dbgen
OUTPUT/images: $(shell find images)
echo "C $@/"
rm -rf $@/
- cp -a images $O/
+ cp -Rp images $O/
rm -rf `find $@ -name CVS`
rm -rf `find $@ -name .git`
OUTPUT/xmldocs.css: docbook/xmldocs.css

0 comments on commit 98b5975

Please sign in to comment.
Something went wrong with that request. Please try again.