X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile.am;h=d4ecc3f18a018e3c57a179a55e3483a566c917dd;hb=63aa2268a5abfed0116d04bbe3952e4a753af91d;hp=e892cdc8bbde3a6b0efa76436fe423f50010677d;hpb=617a2126636a37d66d07aecf70875d30cd4391f9;p=debian%2Fgzip diff --git a/Makefile.am b/Makefile.am index e892cdc..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 @@ -111,11 +112,11 @@ FILES_TO_CHECK = $(bin_SCRIPTS) \ $(top_srcdir)/ChangeLog $(top_srcdir)/configure $(top_srcdir)/gzip.c check-local: $(FILES_TO_CHECK) $(bin_PROGRAMS) gzip.doc.gz $(AM_V_GEN)$(new_path); { test '$(srcdir)' != . \ - || zdiff -c gzip.doc.gz; } - $(AM_V_at)$(new_path); zdiff -c $(srcdir)/gzip.doc $(srcdir)/gzip.doc + || zdiff gzip.doc.gz; } + $(AM_V_at)$(new_path); zdiff $(srcdir)/gzip.doc $(srcdir)/gzip.doc $(AM_V_at)$(new_path); zdiff $(srcdir)/gzip.doc gzip.doc.gz - $(AM_V_at)$(new_path); zdiff -c - $(srcdir)/gzip.doc /dev/null $(AM_V_at)$(new_path); \ for opt in --rsyncable '' -1 -9; do \