diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-10-16 07:48:51 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-10-16 07:48:51 +0000 |
commit | 00746182f3a1fc943e8f8d82ab073b567d1873c9 (patch) | |
tree | 40e13ba6072915d3dbd17af6946ceca964ab2743 /Makefile.am | |
parent | 6c8815909d8fe21b7ff979b18cd347bd9d81120a (diff) | |
download | tar-00746182f3a1fc943e8f8d82ab073b567d1873c9.tar.gz |
(dist-hook): Create a cpio archive.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
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 |