about summary refs log tree commit homepage
path: root/GNUmakefile
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-31 06:06:21 +0000
committerEric Wong <normalperson@yhbt.net>2009-10-30 23:12:28 -0700
commit0c1f9fe19dacb213c08bce5dad502eeaeb52eb9c (patch)
tree73b86ae90cfadb4f1c6710a48e8ebac9c46c2807 /GNUmakefile
parent96b247571511935be5564f988bb64b180e4cd888 (diff)
downloadunicorn-0c1f9fe19dacb213c08bce5dad502eeaeb52eb9c.tar.gz
Explicitly specify that we mean to use stdin/stdout since
not all tar(1) implementations default to it.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 963809c..551b77a 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -57,7 +57,8 @@ http: lib/unicorn_http.$(DLEXT)
 
 $(test_prefix)/.stamp: $(inst_deps)
         mkdir -p $(test_prefix)/.ccache
-        tar c $(inst_deps) GIT-VERSION-GEN | (cd $(test_prefix) && tar x)
+        tar cf - $(inst_deps) GIT-VERSION-GEN | \
+          (cd $(test_prefix) && tar xf -)
         $(MAKE) -C $(test_prefix) clean
         $(MAKE) -C $(test_prefix) http shebang
         > $@
@@ -249,8 +250,8 @@ $(pkgtgz): manifest fix-perms
         @test -n "$(distdir)"
         $(RM) -r $(distdir)
         mkdir -p $(distdir)
-        tar c `cat .manifest` | (cd $(distdir) && tar x)
-        cd pkg && tar c $(basename $(@F)) | gzip -9 > $(@F)+
+        tar cf - `cat .manifest` | (cd $(distdir) && tar xf -)
+        cd pkg && tar cf - $(basename $(@F)) | gzip -9 > $(@F)+
         mv $@+ $@
 
 package: $(pkgtgz) $(pkggem)