From: Sergey Poznyakoff Date: Mon, 16 Oct 2006 07:48:51 +0000 (+0000) Subject: (dist-hook): Create a cpio archive. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=00746182f3a1fc943e8f8d82ab073b567d1873c9;p=chaz%2Ftar (dist-hook): Create a cpio archive. --- diff --git a/Makefile.am b/Makefile.am index ebd5cfd..2e9b74c 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