]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Mon, 28 Mar 2005 21:58:07 +0000 (21:58 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 28 Mar 2005 21:58:07 +0000 (21:58 +0000)
src/Makefile.in

index 572b68f0dc411935c3928b6fcc71c44c026bb429..0d7df92e420133ba07ff626b22988351f08c44d8 100644 (file)
@@ -949,7 +949,7 @@ uninstall-binPROGRAMS:
        done
 
 clean-binPROGRAMS:
-       -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) > /dev/null 2>&1 || /bin/rm -f $(bin_PROGRAMS)
+       -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
 
 installcheck-binPROGRAMS: $(bin_PROGRAMS)
        bad=0; pid=$$$$; list="$(bin_PROGRAMS)"; for p in $$list; do \
@@ -1729,9 +1729,11 @@ sc_tight_scope: $(all_programs)
            | grep -Ev -f $$t &&                                        \
          { echo 'the above functions should have static scope' 1>&2;   \
            exit 1; } || : ;                                            \
-       printf '^program_name$$\n' > $$t;                               \
+       ( printf '^program_name$$\n';                                   \
+         sed -n 's/^extern int \([^ ][^ ]*\);$$/^\1$$/p'               \
+           $(noinst_HEADERS) ) > $$t;                                  \
        nm -e *.$(OBJEXT)                                               \
-           | sed -n 's/.* B //p'                                       \
+           | sed -n 's/.* [BD] //p'                                    \
            | grep -Ev -f $$t &&                                        \
          { echo 'the above variables should have static scope' 1>&2;   \
            exit 1; } || :