aboutsummaryrefslogtreecommitdiff
path: root/Perl/export2cpan
diff options
context:
space:
mode:
authorlecoanet2005-05-16 12:27:51 +0000
committerlecoanet2005-05-16 12:27:51 +0000
commit09e37ffea9f0871dc8396a0a10b68fd0561e1930 (patch)
treec2a0380130421f5a02cf9e3c1a4e7d3bc5e79909 /Perl/export2cpan
parent3cc7e6d2e10c4398eb1959ee289d9398e0f1cb51 (diff)
downloadtkzinc-09e37ffea9f0871dc8396a0a10b68fd0561e1930.zip
tkzinc-09e37ffea9f0871dc8396a0a10b68fd0561e1930.tar.gz
tkzinc-09e37ffea9f0871dc8396a0a10b68fd0561e1930.tar.bz2
tkzinc-09e37ffea9f0871dc8396a0a10b68fd0561e1930.tar.xz
Reverted to the old method for updating the version number in Zinc.pm and Makefile.PL (using export2cpan).
Diffstat (limited to 'Perl/export2cpan')
-rwxr-xr-xPerl/export2cpan2
1 files changed, 1 insertions, 1 deletions
diff --git a/Perl/export2cpan b/Perl/export2cpan
index cb17bd8..61b5f2b 100755
--- a/Perl/export2cpan
+++ b/Perl/export2cpan
@@ -157,9 +157,9 @@ foreach my $f (@files) {
# modifying the $VERSION of Zinc.pm with the correctly perl formated version scheme.
&filesubst ('Zinc.pm', "$EXPORT_DIR/$VERSION_DIR/Zinc.pm", '^\$VERSION *=.*;', "\$VERSION = $VERSION;");
+&filesubst ('Makefile.PL', "$EXPORT_DIR/$VERSION_DIR/Makefile.PL", '^\$VERSION *=.*;', "\$VERSION = $VERSION;");
system("$CP ../Copyright $EXPORT_DIR/$VERSION_DIR");
-system("$CP Makefile.PL $EXPORT_DIR/$VERSION_DIR");
system("$CP ../generic/*.c $EXPORT_DIR/$VERSION_DIR");
system("$CP ../generic/*.h $EXPORT_DIR/$VERSION_DIR");
system("$CP ../win/*.c $EXPORT_DIR/$VERSION_DIR");