]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Don't assume that "make -C" works; Solaris "make" doesn't have -C.
authorJim Meyering <jim@meyering.net>
Thu, 13 May 2004 07:03:52 +0000 (07:03 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 13 May 2004 07:03:52 +0000 (07:03 +0000)
* 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

index b88e76bf398bec1f8f853396ae03954aed074d96..c3f7e889e6ea95a8d2defcd9746bc1e807012209 100644 (file)
@@ -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 = \