From: Paul Eggert Date: Wed, 28 Apr 2004 19:52:27 +0000 (+0000) Subject: (GZIP_ENV): Don't use --rsyncable if gzip doesn't X-Git-Tag: BISON-2_0~165 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/f97de3247ffab0209b53b86283cfc664e0693cab (GZIP_ENV): Don't use --rsyncable if gzip doesn't support it. (The latest stable gzip doesn't.) --- diff --git a/Makefile.maint b/Makefile.maint index 71256869..a5712d80 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -2,7 +2,7 @@ # This Makefile fragment is shared between the coreutils, # CPPI, Bison, and Autoconf. -## Copyright (C) 2001-2003 Free Software Foundation, Inc. +## Copyright (C) 2001, 2002, 2003, 2004 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 @@ -24,7 +24,12 @@ ME := Makefile.maint # Do not save the original name or timestamp in the .tar.gz file. -GZIP_ENV = '--no-name --best --rsyncable' +GZIP_ENV = \ + "--no-name --best$$( \ + case $$(gzip --help) in \ + (*--rsyncable*) echo ' --rsyncable';; \ + esac \ + )" CVS = cvs