tar: don't assume GZIP

* Makefile.am (dist-hook): Port to gzip implementations that
warn about nontrivial settings in the GZIP environment var.
This commit is contained in:
Paul Eggert
2015-03-17 22:54:28 -07:00
parent 4eb1484dce
commit 731b7b07de

View File

@@ -26,7 +26,7 @@ dist-hook:
$(MAKE) changelog_dir=$(distdir) ChangeLog
-rm -f $(distdir).cpio
find $(distdir) | cpio -Hcrc -o | \
GZIP=$(GZIP_ENV) gzip -c > $(distdir).cpio.gz
eval GZIP= gzip $(GZIP_ENV) -c > $(distdir).cpio.gz
distclean-local:
-rm -f $(distdir).cpio.gz