1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-16 08:38:48 +02:00

Use gzip's --rsyncable option only if it's available.

(gzip_rsyncable): New variable.
(GZIP_ENV): Use it.
This commit is contained in:
Jim Meyering
2006-02-10 17:47:16 +00:00
parent 321f772415
commit 6ceaaa02dc

View File

@@ -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