X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=Makefile.am;h=61528cabf38350502bf5cc07180cdd5eda56bb52;hb=7c0b81cbb9790ab9402e983a4d677a8ebde010d5;hp=ebd5cfd244a7be2b5fa65c440e8255141a59d129;hpb=120e96c480fbfc5fa31fba0f59ba1a45953b838e;p=chaz%2Ftar diff --git a/Makefile.am b/Makefile.am index ebd5cfd..61528ca 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +1,11 @@ # Main Makefile for GNU tar. -# Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003 Free +# Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003, 2007 Free # Software Foundation, Inc. ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2, or (at your option) +## the Free Software Foundation; either version 3, or (at your option) ## any later version. ## This program is distributed in the hope that it will be useful, @@ -22,3 +22,10 @@ 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 + +distclean-local: + -rm -f $(distdir).cpio.gz