From 295d47736a0cb89cbc74693ac377a359212f75c5 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 10 May 2008 11:57:22 +0200 Subject: now that the last of the mk-script-using tests is gone... * tests/Makefile.am (EXTRA_DIST): Remove Makefile.am.in and mk-script. Move/adjust SUBDIRS-related comments. * tests/Makefile.am.in: Remove file, no longer used. * tests/mk-script: Likewise. * bootstrap: Remove coreutils-specific SUBDIRS-related code. --- bootstrap | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap b/bootstrap index 9e354446a..008e902fb 100755 --- a/bootstrap +++ b/bootstrap @@ -530,27 +530,6 @@ if test $with_gettext = yes; then rm -fr $bt $bt2 || exit fi -# Coreutils is unusual in that it generates some of its test-related -# Makefile.am files. That must be done before invoking automake. -mam_template=tests/Makefile.am.in -if test -f $mam_template; then - PERL=perl - tool_subdirs=`$PERL -ne '/^SUBDIRS = (.*)/ and print $1' tests/Makefile.am` - test "$tool_subdirs" = '' && { echo "$0: no more SUBDIRS: FIXME"1>&2; exit 1;} - for tool in $tool_subdirs; do - m=tests/$tool/Makefile.am - t=${m}t - rm -f $m $t - sed -n '1,/^##test-files-begin/p' $mam_template > $t - echo "x = $tool" >> $t - srcdir=tests/$tool - $PERL -I$srcdir -w -- tests/mk-script $srcdir --list >> $t - sed -n '/^##test-files-end/,$p' $mam_template >> $t - chmod -w $t - mv $t $m - done -fi - # Remove any dangling symlink matching "*.m4" or "*.[ch]" in some # gnulib-populated directories. Such .m4 files would cause aclocal to fail. # The following requires GNU find 4.2.3 or newer. Considering the usual -- cgit v1.2.3-70-g09d2