]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(all_programs): Define.
authorJim Meyering <jim@meyering.net>
Wed, 16 Jul 2003 19:51:05 +0000 (19:51 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 16 Jul 2003 19:51:05 +0000 (19:51 +0000)
(TESTS_ENVIRONMENT): Use it.

tests/Makefile.am

index f220f9d71a44a3fa6c5eea5849611522d2b02ae7..e8506ad2ed01cb6d711bb10c0e467a1d45b69236 100644 (file)
@@ -1,8 +1,13 @@
 ## Process this file with automake to produce Makefile.in -*-Makefile-*-.
 
+all_programs =                                                         \
+  echo 'spy:;@echo $$(all_programs)'                                   \
+    | MAKEFLAGS= $(MAKE) -s -C $(srcdir)/../src -f Makefile -f - spy   \
+    | fmt -1 | sort -u
+
 TESTS = help-version
 TESTS_ENVIRONMENT = \
-  all_programs="$(bin_SCRIPTS) $(bin_PROGRAMS)"
+  all_programs="`$(all_programs)`"
 
 EXTRA_DIST = \
   $(TESTS) .env-warn Fetish.pm Makefile.am.in README envvar-check \