Don't include Mac OS X resource forks in tar archives
authorAlexander Barton <alex@barton.de>
Fri, 20 Aug 2010 13:40:03 +0000 (15:40 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 20 Aug 2010 13:40:03 +0000 (15:40 +0200)
Makefile

index 9e9c832..aad396b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -58,12 +58,14 @@ check:
 dist: distclean
        dir=`basename $${PWD}` \
         && cd .. \
-        && tar cvzf "$${dir}.tar.gz" --exclude .git "$${dir}"
+        && COPYFILE_DISABLE=true tar cvzf "$${dir}.tar.gz" \
+            --exclude .git "$${dir}"
 
 distcheck: check dist
 
 nagcollecttestscripts:
-       tar -czvf nagcollecttestscripts.tgz -C client/lib/tests .
+       COPYFILE_DISABLE=true tar -czvf nagcollecttestscripts.tgz \
+        -C client/lib/tests .
 
 .PHONY: all install install-all install-server install-client \
        clean distclean check dist distcheck nagcollecttestscripts