]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: tight-scope test: don't build excluded programs
authorJim Meyering <meyering@redhat.com>
Fri, 10 Apr 2009 09:35:10 +0000 (11:35 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 10 Apr 2009 09:35:10 +0000 (11:35 +0200)
* src/Makefile.am (sc_tight_scope): Depend on $(bin_PROGRAMS),
not $(all_programs)

src/Makefile.am

index 08718b1e8140d2786f4ac2151d57f21f5697837b..9aaf739794461970c4bebf0ccf69fdc62e0e4481 100644 (file)
@@ -434,7 +434,7 @@ s2 = '/^\#define AUTHORS \\\\/{;n;$(sed_filter);p;q;}'
 #
 # The second nm|grep checks for file-scope variables with `extern' scope.
 .PHONY: sc_tight_scope
-sc_tight_scope: $(all_programs)
+sc_tight_scope: $(bin_PROGRAMS)
        @t=exceptions-$$$$;                                             \
        trap "s=$$?; rm -f $$t; exit $$s" 0 1 2 13 15;                  \
        src=`for f in $(SOURCES); do                                    \