From 8c34e764805082e1d05ab92df2aab0fc882e4740 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 4 Jun 2003 12:22:06 +0000 Subject: (check-programs-vs-x): Rename target from check-programs-vs-1. Adjust rule to check for the primary (.x) file, not the generated one (.1). --- man/Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'man') diff --git a/man/Makefile.am b/man/Makefile.am index aae612264..cb973e77b 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -132,7 +132,7 @@ mapped_name = `echo $*|sed 's/install/ginstall/'` --output=$@ $t/$*$(EXEEXT); \ rm -rf $t -check-local: check-x-vs-1 check-programs-vs-1 +check-local: check-x-vs-1 check-programs-vs-x # Ensure that for each .x file in this directory, there is a # corresponding .1 file in the definition of $(dist_man_MANS) above. @@ -150,11 +150,11 @@ programs = \ | MAKEFLAGS= $(MAKE) -s -C $(srcdir)/../src -f Makefile -f - spy \ | fmt -1 | sort -u -.PHONY: check-programs-vs-1 -check-programs-vs-1: +.PHONY: check-programs-vs-x +check-programs-vs-x: for p in `$(programs)`; do \ test $$p = ginstall && p=install || : ; \ - test -f $(srcdir)/$$p.1 \ - || { echo missing $$p.1 1>&2; missing=1; }; \ + test -f $(srcdir)/$$p.x \ + || { echo missing $$p.x 1>&2; missing=1; }; \ done; \ test "$$missing" = 1 && exit 1 || : -- cgit v1.2.3-70-g09d2