]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Fri, 14 May 2004 09:16:23 +0000 (09:16 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 14 May 2004 09:16:23 +0000 (09:16 +0000)
man/Makefile.in
src/Makefile.in
tests/Makefile.in
tests/rm/Makefile.in

index 75a613b27c618aaf4bc8fc504317bd2dba47e8b2..cc395bddf4437d3741047ba36de636bab7b8ce03 100644 (file)
@@ -295,10 +295,9 @@ mapped_name = `echo $*|sed 's/install/ginstall/; s/test/[/'`
 # otherwise we may get into trouble with distinct strings that the
 # current locale considers to be equal.
 ASSORT = LC_ALL=C sort
-programs = \
-  echo 'spy:;@echo $$(all_programs)'                                   \
-    | MAKEFLAGS= $(MAKE) -s -C ../src -f Makefile -f - spy     \
-    | ../src/tr -s ' ' '\n' | $(ASSORT) -u | grep -v '\['
+all_programs = \
+      (cd ../src && MAKEFLAGS= $(MAKE) -s all_programs.list)           \
+    | grep -v '\['
 
 all: all-am
 
@@ -629,7 +628,7 @@ check-x-vs-1:
 .PHONY: check-programs-vs-x
 check-programs-vs-x:
        status=0;                                       \
-       for p in dummy `$(programs)`; do                \
+       for p in dummy `$(all_programs)`; do            \
          test $$p = dummy && continue;                 \
          test $$p = ginstall && p=install || : ;       \
          test -f $(srcdir)/$$p.x                       \
index f9bca99097116afcf336c5c6683efb770c8dc379..279958763ce695f65902511225bd3e64d3af82c1 100644 (file)
@@ -902,16 +902,16 @@ wheel_size = 5
 # Tell automake to exempt then from that installcheck test.
 AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = false test
 MAINTAINERCLEANFILES = $(BUILT_SOURCES)
-all_programs = \
-    $(bin_PROGRAMS) \
-    $(bin_SCRIPTS) \
-  $(EXTRA_PROGRAMS)
-
 
 # Sort in traditional ASCII order, regardless of the current locale;
 # otherwise we may get into trouble with distinct strings that the
 # current locale considers to be equal.
 ASSORT = LC_ALL=C sort
+all_programs = \
+    $(bin_PROGRAMS) \
+    $(bin_SCRIPTS) \
+  $(EXTRA_PROGRAMS)
+
 pm = progs-makefile
 pr = progs-readme
 
@@ -1674,6 +1674,9 @@ fs.h: stat.c extract-magic
        $(PERL) $(srcdir)/extract-magic $(srcdir)/stat.c > $@t
        @chmod a-w $@t
        mv $@t $@
+
+all_programs.list:
+       @echo $(all_programs) | tr ' ' '\n' | $(ASSORT)
 # Ensure that the list of programs in README matches the list
 # of programs we can build.
 check: check-README check-misc
index f0bd2381c6b309b6ff224bfbb2a98bfb231c8ea3..59f6a7667ce651773e8f94a305bc7e31cbb215f0 100644 (file)
@@ -273,11 +273,7 @@ target_alias = @target_alias@
 # otherwise we may get into trouble with distinct strings that the
 # 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 = \
   all_programs="`$(all_programs)`" \
index 23fdc0b12ebb71207b91ffc997bbd3d671bc0d47..e192f9442f1c87a78040c8b52fb52c91bf79805d 100644 (file)
@@ -261,6 +261,7 @@ sysconfdir = @sysconfdir@
 target_alias = @target_alias@
 AUTOMAKE_OPTIONS = 1.1 gnits
 TESTS = \
+  unread3 \
   no-give-up \
   dir-no-w \
   fail-2eperm \