Skip to content
Permalink
Browse files
Now copies the Makefile.am template instead of rename()ing it.
  • Loading branch information
icculus committed Jul 21, 2002
1 parent a29af52 commit b2018d63c8de46acac8c5448152d1a6b09e107bd
Showing with 1 addition and 1 deletion.
  1. +1 −1 bootstrap
@@ -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

0 comments on commit b2018d6

Please sign in to comment.