]> git.vpit.fr Git - perl/modules/re-engine-Plugin.git/blobdiff - Makefile.PL
New ChangeLog file that's made from git, not manually maintained
[perl/modules/re-engine-Plugin.git] / Makefile.PL
index b52770831d95064b0d56a1e2ca38f72e550bcb08..1c07b3e896a4b359633204d3a3066e050228aced 100644 (file)
@@ -7,7 +7,20 @@ WriteMakefile(
     ABSTRACT_FROM => 'Plugin.pod',\r
     VERSION_FROM  => 'Plugin.pm',\r
     LICENSE       => 'perl',\r
+    CCFLAGS       => '-Wall',\r
     test          => {\r
         TESTS => 't/*.t t/*/*.t t/*/*/*.t',\r
     },\r
 );\r
+\r
+sub MY::postamble {\r
+    return <<END;\r
+ChangeLog: Makefile\r
+       git log --pretty=full . >ChangeLog\r
+\r
+META.yml: Makefile\r
+       touch META.yml\r
+\r
+END\r
+}\r
+\r