coverage: parallel make with vala
[platform/upstream/automake.git] / bootstrap
index 3a6b9aa..814aedb 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -2,8 +2,7 @@
 
 # This script helps bootstrap automake, when checked out from git.
 #
-# Copyright (C) 2002, 2003, 2004, 2007, 2008, 2010 Free Software
-# Foundation, Inc.
+# Copyright (C) 2002-2012 Free Software Foundation, Inc.
 # Originally written by Pavel Roskin <proski@gnu.org> September 2002.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -69,7 +68,7 @@ if test -d automake-$APIVERSION; then
   find automake-$APIVERSION -exec chmod u+wx '{}' ';'
 fi
 rm -rf automake-$APIVERSION
-# Can't use `ln -s lib automake-$APIVERSION', that would create a
+# Can't use "ln -s lib automake-$APIVERSION", that would create a
 # lib.exe stub under DJGPP 2.03.
 mkdir automake-$APIVERSION
 cp -rf lib/* automake-$APIVERSION
@@ -104,13 +103,12 @@ dosubst m4/amversion.in m4/amversion.m4
 dosubst automake.in automake.tmp
 
 # Create required makefile snippets.
-cd tests
-$BOOTSTRAP_SHELL ./gen-parallel-tests > parallel-tests.am
-$BOOTSTRAP_SHELL ./instspc-tests.sh --generate-makefile > instspc-tests.am
-cd ..
+$PERL ./gen-testsuite-part > t/testsuite-part.tmp
+chmod a-w t/testsuite-part.tmp
+mv -f t/testsuite-part.tmp t/testsuite-part.am
 
 # Run the autotools.
-# Use `-I' here so that our own *.m4 files in m4/ gets included,
+# Use '-I' here so that our own *.m4 files in m4/ gets included,
 # not copied, in aclocal.m4.
 $PERL ./aclocal.tmp -I m4 --automake-acdir m4 --system-acdir m4/acdir
 $AUTOCONF