Now copies the Makefile.am template instead of rename()ing it.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 21 Jul 2002 09:32:34 +0000
changeset 357 9c0dd45cb7eb
parent 356 d3ce429e56cd
child 358 597a22ea53b5
Now copies the Makefile.am template instead of rename()ing it.
bootstrap
--- a/bootstrap	Sun Jul 21 09:08:41 2002 +0000
+++ b/bootstrap	Sun Jul 21 09:32:34 2002 +0000
@@ -2,7 +2,7 @@
 
 set -e
 echo "Initial preparation...this can take awhile, so sit tight..."
-perl -w -e 'exit 0 if (-f "Makefile.am"); my $x = `automake --version |head -n 1`; chomp($x); $x = 0.0 if ($x !~ s/\A.*?(\d+\.\d+).*\Z/$1/); if ($x < 1.5) { rename ("./Makefile.am.oldautomake", "./Makefile.am"); } else { rename ("./Makefile.am.newautomake", "./Makefile.am"); }'
+perl -w -e 'use File::Copy; exit 0 if (-f "Makefile.am"); my $x = `automake --version |head -n 1`; chomp($x); $x = 0.0 if ($x !~ s/\A.*?(\d+\.\d+).*\Z/$1/); if ($x < 1.5) { copy("./Makefile.am.oldautomake", "./Makefile.am"); } else { copy("./Makefile.am.newautomake", "./Makefile.am"); }'
 aclocal
 libtoolize --automake --copy --force
 autoheader