From 6ceaaa02dc6aa467b772cf9b52a9c70213b40c4f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 10 Feb 2006 17:47:16 +0000 Subject: Use gzip's --rsyncable option only if it's available. (gzip_rsyncable): New variable. (GZIP_ENV): Use it. --- Makefile.maint | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.maint b/Makefile.maint index e954a49ad..bca5dd9ee 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 -- cgit v1.2.3-70-g09d2