From 2b4882c2338a74d639c6a3fdb34dfc94f95d9d59 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 13 May 2004 07:03:52 +0000 Subject: Don't assume that "make -C" works; Solaris "make" doesn't have -C. * src/Makefile.am (all_programs.list): New rule, copied from man/Makefile.am and tests/Makefile.am, except that we use the system tr rather than ./tr and we don't use tr -s. * tests/Makefile.am (all_programs): Use it. --- tests/Makefile.am | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index b88e76bf3..c3f7e889e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -5,10 +5,7 @@ # current locale considers to be equal. ASSORT = LC_ALL=C sort -all_programs = \ - echo 'spy:;@echo $$(all_programs)' \ - | MAKEFLAGS= $(MAKE) -s -C ../src -f Makefile -f - spy \ - | ../src/tr -s ' ' '\n' | $(ASSORT) -u +all_programs = (cd ../src && MAKEFLAGS= $(MAKE) -s all_programs.list) TESTS = help-version TESTS_ENVIRONMENT = \ -- cgit v1.2.3-70-g09d2