-check-local: $(FILES_TO_CHECK) gzip.doc.gz
- { test '$(srcdir)' != . || GZIP_BINDIR=. ./zdiff -c gzip.doc.gz; }
- GZIP_BINDIR=. ./zdiff -c $(srcdir)/gzip.doc $(srcdir)/gzip.doc
- GZIP_BINDIR=. ./zdiff $(srcdir)/gzip.doc gzip.doc.gz
- GZIP_BINDIR=. ./zdiff -c - $(srcdir)/gzip.doc <gzip.doc.gz
- GZIP_BINDIR=. ./zdiff -c gzip.doc.gz gzip.doc.gz
- GZIP_BINDIR=. ./zgrep -iV >/dev/null
- for file in $(FILES_TO_CHECK); do \
- ./gzip -cv -- "$$file" | ./gzip -d | cmp - "$$file" || exit; \
+check-local: $(FILES_TO_CHECK) $(bin_PROGRAMS) gzip.doc.gz
+ $(AM_V_GEN)$(new_path); { test '$(srcdir)' != . \
+ || 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 - $(srcdir)/gzip.doc <gzip.doc.gz
+ $(AM_V_at)$(new_path); zdiff gzip.doc.gz gzip.doc.gz
+ $(AM_V_at)$(new_path); zgrep -iV >/dev/null
+ $(AM_V_at)$(new_path); \
+ for opt in --rsyncable '' -1 -9; do \
+ for file in $(FILES_TO_CHECK); do \
+ gzip $$opt -c -- "$$file" \
+ | gzip -d | cmp - "$$file" || exit 1; \
+ done; \