summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2006-10-16 07:48:51 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2006-10-16 07:48:51 +0000
commit00746182f3a1fc943e8f8d82ab073b567d1873c9 (patch)
tree40e13ba6072915d3dbd17af6946ceca964ab2743 /Makefile.am
parent6c8815909d8fe21b7ff979b18cd347bd9d81120a (diff)
downloadtar-00746182f3a1fc943e8f8d82ab073b567d1873c9.tar.gz
(dist-hook): Create a cpio archive.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index ebd5cfd2..2e9b74c3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,3 +22,7 @@ ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = ChangeLog.1 PORTS
SUBDIRS = doc lib rmt src scripts po tests
+dist-hook:
+ -rm -f $(distdir).cpio
+ find $(distdir) | cpio -Hcrc -o | \
+ GZIP=$(GZIP_ENV) gzip -c > $(distdir).cpio.gz