[gambit-list] [PATCH 4/4] makefile.in: never add OS X metadata when creating tar archives
Christian Jaeger
chrjae at gmail.com
Fri Apr 30 10:37:04 EDT 2010
The two environment variables are mentioned by various blog posts on
the web. Apple changed the name from one to the other in some OS X
release, thus set both here.
---
makefile.in | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/makefile.in b/makefile.in
index 80980e0..b54c41a 100644
--- a/makefile.in
+++ b/makefile.in
@@ -40,6 +40,9 @@ RC = @RC@
GIT = @GIT@
HG = @HG@
+# disable addition of HFS/HFS+ metadata on OS X:
+TAR = COPY_EXTENDED_ATTRIBUTES_DISABLE=true COPYFILE_DISABLE=true tar
+
prefix = @prefix@
exec_prefix = @exec_prefix@
includedir = @includedir@
@@ -331,7 +334,7 @@ dist-pre:
done
dist-post:
- tar chof $(PACKAGE_TARNAME).tar $(PACKAGE_TARNAME)
+ $(TAR) chof $(PACKAGE_TARNAME).tar $(PACKAGE_TARNAME)
gzip -9 $(PACKAGE_TARNAME).tar
mv $(PACKAGE_TARNAME).tar.gz $(PACKAGE_TARNAME).tgz
rm -rf $(PACKAGE_TARNAME)
@@ -369,7 +372,7 @@ dist-devel-pre:
dist-devel-post:
rm -rf $(PACKAGE_TARNAME)-devel
mv $(PACKAGE_TARNAME) $(PACKAGE_TARNAME)-devel
- tar chof $(PACKAGE_TARNAME)-devel.tar $(PACKAGE_TARNAME)-devel
+ $(TAR) chof $(PACKAGE_TARNAME)-devel.tar $(PACKAGE_TARNAME)-devel
gzip -9 $(PACKAGE_TARNAME)-devel.tar
mv $(PACKAGE_TARNAME)-devel.tar.gz $(PACKAGE_TARNAME)-devel.tgz
rm -rf $(PACKAGE_TARNAME)-devel
--
1.7.0.3
More information about the Gambit-list
mailing list