aboutsummaryrefslogtreecommitdiff
path: root/Perl/export2cpan
diff options
context:
space:
mode:
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");