Skip to content

Commit

Permalink
Now copies the Makefile.am template instead of rename()ing it.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 21, 2002
1 parent a29af52 commit b2018d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap
Expand Up @@ -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
Expand Down

0 comments on commit b2018d6

Please sign in to comment.