summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-05-13 07:03:52 +0000
committerJim Meyering <jim@meyering.net>2004-05-13 07:03:52 +0000
commit2b4882c2338a74d639c6a3fdb34dfc94f95d9d59 (patch)
treea588a31f46ac2670d29f5aa4c5bb88b815004f9f /tests
parent50f956a0b0f01c60f11210ca03d4e27d3f35c20f (diff)
downloadcoreutils-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.am5
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 = \