From 00746182f3a1fc943e8f8d82ab073b567d1873c9 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 16 Oct 2006 07:48:51 +0000 Subject: [PATCH] (dist-hook): Create a cpio archive. --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.45.2