(gzip.doc.gz): Use our gzip, not the system-installed one.
Problem reported by Chris Staub in
<http://lists.gnu.org/archive/html/bug-gzip/2007-10/msg00000.html>.
+2007-10-04 Paul Eggert <eggert@cs.ucla.edu>
+
+ * Makefile.am (gzip.doc.gz, check-local): Depend on $(bin_PROGRAMS).
+ (gzip.doc.gz): Use our gzip, not the system-installed one.
+ Problem reported by Chris Staub in
+ <http://lists.gnu.org/archive/html/bug-gzip/2007-10/msg00000.html>.
+
2007-07-03 Paul Eggert <eggert@cs.ucla.edu>
* COPYING: Update to GPLv3. All uses changed.
gzip.doc: gzip.1
groff -man -Tascii $(srcdir)/gzip.1 | col -b | uniq >$@
-gzip.doc.gz: gzip.doc
- gzip <$? >$@
+gzip.doc.gz: gzip.doc $(bin_PROGRAMS)
+ ./gzip <gzip.doc >$@
SUFFIXES = .in
.in:
# A simple test, just of gzip -- more of a sanity check than anything else.
FILES_TO_CHECK = $(bin_SCRIPTS) $(gzip_LDADD) \
$(top_srcdir)/ChangeLog $(top_srcdir)/configure $(top_srcdir)/gzip.c
-check-local: $(FILES_TO_CHECK) gzip.doc.gz
+check-local: $(FILES_TO_CHECK) $(bin_PROGRAMS) gzip.doc.gz
{ test '$(srcdir)' != . || ./zdiff --__bindir . -c gzip.doc.gz; }
./zdiff --__bindir . -c $(srcdir)/gzip.doc $(srcdir)/gzip.doc
./zdiff --__bindir . $(srcdir)/gzip.doc gzip.doc.gz