From a1e0d54e2d5ab766620830676f3c7a9ca16c6266 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 8 Sep 2003 09:17:32 +0000 Subject: (programs): Use ../src, not $(srcdir)/../src. (check-programs-vs-x): Fail if $(programs) is empty. --- man/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/Makefile.am b/man/Makefile.am index c719dfc75..26f0d7b29 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -155,11 +155,12 @@ check-x-vs-1: programs = \ echo 'spy:;@echo $$(all_programs)' \ - | MAKEFLAGS= $(MAKE) -s -C $(srcdir)/../src -f Makefile -f - spy \ + | MAKEFLAGS= $(MAKE) -s -C ../src -f Makefile -f - spy \ | fmt -1 | $(ASSORT) -u | grep -v '\[' .PHONY: check-programs-vs-x check-programs-vs-x: + test "$(programs)" && : || exit 1 for p in `$(programs)`; do \ test $$p = ginstall && p=install || : ; \ test -f $(srcdir)/$$p.x \ -- cgit v1.2.3-70-g09d2