From: Jim Meyering Date: Fri, 10 Feb 2006 17:47:16 +0000 (+0000) Subject: Use gzip's --rsyncable option only if it's available. X-Git-Tag: v6.0~770 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ceaaa02dc6aa467b772cf9b52a9c70213b40c4f;p=thirdparty%2Fcoreutils.git Use gzip's --rsyncable option only if it's available. (gzip_rsyncable): New variable. (GZIP_ENV): Use it. --- diff --git a/Makefile.maint b/Makefile.maint index e954a49ad3..bca5dd9ee6 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -24,7 +24,9 @@ ME := Makefile.maint # Do not save the original name or timestamp in the .tar.gz file. -GZIP_ENV = '--no-name --best --rsyncable' +gzip_rsyncable := \ + $(shell gzip --help|grep rsyncable >/dev/null && echo --rsyncable) +GZIP_ENV = '--no-name --best $(gzip_rsyncable)' CVS = cvs