X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile.am;fp=Makefile.am;h=d4ecc3f18a018e3c57a179a55e3483a566c917dd;hb=a8a88eddaa90432e6ec1b8d9d5c9842bc91afd1d;hp=738c63ca17115150ba2a7d09d3a33d80840622e3;hpb=20fcfc81ece044b8b0a6768ec6cf47be4e22a2e6;p=debian%2Fgzip diff --git a/Makefile.am b/Makefile.am index 738c63c..d4ecc3f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ # Make gzip (GNU zip). -# Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2016 Free Software Foundation, +# Copyright (C) 1999, 2001-2002, 2006-2007, 2009-2018 Free Software Foundation, # Inc. # This program is free software; you can redistribute it and/or modify @@ -80,12 +80,13 @@ gzip.doc.gz: gzip.doc $(bin_PROGRAMS) SUFFIXES = .in .in: - $(AM_V_GEN)sed \ + $(AM_V_GEN)rm -f $@-t $@ \ + && sed \ -e 's|/bin/sh|$(SHELL)|g' \ -e 's|[@]GREP@|$(GREP)|g' \ -e 's|[@]VERSION@|$(VERSION)|g' \ $(srcdir)/$@.in >$@-t \ - && chmod a+x $@-t \ + && chmod a=rx $@-t \ && mv $@-t $@ # Arrange so that .tarball-version appears only in the distribution