2 function get_version_info
()
5 source project
/gnu
/version
9 function gen_configure_ac
()
11 cat > bootstrap.pl
<<EOF
15 \$_ =~ s/\\\$\\\$__PACKAGE__\\\$\\\$/$PACKAGE/g;
16 \$_ =~ s/\\\$\\\$__VERSION__\\\$\\\$/$VERSION/g;
20 cat project
/gnu
/configure.ac.
in | perl bootstrap.pl
> configure.ac
23 function gen_makefile_in
()
25 cat > bootstrap.pl
<<EOF
29 \$_ =~ s/\\\$\\\$__PACKAGE__\\\$\\\$/$PACKAGE/g;
30 \$_ =~ s/\\\$\\\$__VERSION__\\\$\\\$/$VERSION/g;
34 cat project
/gnu
/Makefile.
in.
in | perl bootstrap.pl
> Makefile.
in
44 cp project
/gnu
/install-sh .