]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/commitdiff
Reset suppressions and template on make clean
authorVincent Pit <vince@profvince.com>
Mon, 25 Aug 2008 12:50:30 +0000 (14:50 +0200)
committerVincent Pit <vince@profvince.com>
Mon, 25 Aug 2008 12:50:30 +0000 (14:50 +0200)
Makefile.PL

index 221229fbbb6c4df9720c3d3374d221231b625418..228fd1b4c5293651dd58e69c3ff57649b9059ed9 100644 (file)
@@ -82,3 +82,12 @@ WriteMakefile(
 );
 1 while unlink 'lib/' . $supp;
 
+package MY;
+
+sub postamble {
+ <<POSTAMBLE;
+clean ::
+\t\$(CP) lib/Test/Valgrind/Suppressions.{tpl,pm}
+\t\$(TOUCH) lib/Test/Valgrind/perlTestValgrind.supp
+POSTAMBLE
+}