diff options
author | Jim Meyering <jim@meyering.net> | 2004-05-13 07:03:52 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-05-13 07:03:52 +0000 |
commit | 2b4882c2338a74d639c6a3fdb34dfc94f95d9d59 (patch) | |
tree | a588a31f46ac2670d29f5aa4c5bb88b815004f9f /tests | |
parent | 50f956a0b0f01c60f11210ca03d4e27d3f35c20f (diff) | |
download | coreutils-2b4882c2338a74d639c6a3fdb34dfc94f95d9d59.tar.xz |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 5 |
1 files changed, 1 insertions, 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 = \ |