From c247804708af0e9ac490f448cef1037c1b286fb3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 16 Aug 2009 10:51:19 +0200 Subject: [PATCH] build: avoid non-srcdir build failure * Makefile.am (gzip.doc.gz): Use $(srcdir)/gzip.doc, not gzip.doc. Don't redirect directly to $@. Use $(AM_V_GEN). (gzip.doc, .in): Don't redirect directly to $@. Use $(AM_V_GEN). * NEWS: Add template header for upcoming release. --- Makefile.am | 12 +++++++----- NEWS | 7 +++++++ 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index 1ef6415..d5d41f7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -48,19 +48,21 @@ gzip_SOURCES = \ gzip_LDADD = lib/libgzip.a gzip.doc: gzip.1 - groff -man -Tascii $(srcdir)/gzip.1 | col -b | uniq >$@ + $(AM_V_GEN)groff -man -Tascii $(srcdir)/gzip.1 | col -b | uniq > $@-t \ + && mv $@-t $@ gzip.doc.gz: gzip.doc $(bin_PROGRAMS) - ./gzip $@ + $(AM_V_GEN)./gzip < $(srcdir)/gzip.doc >$@-t && mv $@-t $@ SUFFIXES = .in .in: - sed \ + $(AM_V_GEN)sed \ -e 's|/bin/sh|$(SHELL)|g' \ -e 's|[@]bindir@|'\''$(bindir)'\''|g' \ -e 's|[@]VERSION@|$(VERSION)|g' \ - $(srcdir)/$@.in >$@ - chmod a+x $@ + $(srcdir)/$@.in >$@-t \ + && chmod a+x $@-t \ + && mv $@-t $@ # Arrange so that .tarball-version appears only in the distribution # tarball, and never in a checked-out repository. diff --git a/NEWS b/NEWS index eda7683..90c2e61 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,10 @@ +GNU gzip NEWS -*- outline -*- + +* Noteworthy changes in release ?.?.? (????-??-??) [?] + +** Bug fixes + + Major changes in Gzip 1.3.12 (2007-04-13) * znew now uses $TMPDIR (default /tmp) instead of always using /tmp. -- 2.47.2