Permalink
Browse files

The generated META.yml must be touched early in Makefile.PL, or the

MANIFEST checker will have a conniption.  A cow.  A canary.  All
manner of things which are not a Makefile will spring forth from
MakeMaker's loins without META.yml existing.
  • Loading branch information...
1 parent 4e3cb9f commit 09da64b5e4f5ea714392dd9c472a0aa082983f78 @rcaputo committed Feb 2, 2004
Showing with 6 additions and 4 deletions.
  1. +3 −2 mylib/Makefile-5004.pm
  2. +3 −2 mylib/Makefile-5005.pm
View
@@ -25,8 +25,9 @@ poe_report.xml: Makefile
EOF
}
-# Touch CHANGES so it exists.
-open(CHANGES, ">>CHANGES") and close CHANGES;
+# Touch generated files so they exist.
+open(TOUCH, ">>CHANGES") and close TOUCH;
+open(TOUCH, ">>META.yml") and close TOUCH;
WriteMakefile
( NAME => 'POE',
View
@@ -120,8 +120,9 @@ ExtUtils::AutoInstall->import
],
);
-# Touch CHANGES so it exists.
-open(CHANGES, ">>CHANGES") and close CHANGES;
+# Touch generated files so they exist.
+open(TOUCH, ">>CHANGES") and close TOUCH;
+open(TOUCH, ">>META.yml") and close TOUCH;
sub MY::postamble {
return ExtUtils::AutoInstall::postamble() .

0 comments on commit 09da64b

Please sign in to comment.