Browse files

Correctly define the mani target.

  • Loading branch information...
1 parent 11ce715 commit 23c4cfd47d11b22ec4c73efe434ef15cec40ab75 @pjcj committed Aug 31, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 Makefile.PL
4 Makefile.PL
@@ -512,7 +512,9 @@ self_cover : pure_all
\t DEVEL_COVER_SELF=1 \$(PERL) -Mblib -MDevel::Cover cover t/e2e/cover_db_*
\t DEVEL_COVER_SELF=1 \$(PERL) -Mblib -MDevel::Cover cover -report html_basic
-mani : manifest
+mani :
+\t -rm MANIFEST
+\t \$(MAKE) manifest
\t \$(PERL) -i.bak -ne '\$\$d = "test_output/cover"; print unless /^\$\$d/; END { open M, ">>MANIFEST"; opendir D, \$\$d; print M "\$\$d/\$\$_\\n" for sort grep -f "\$\$d/\$\$_", readdir D }' MANIFEST
ok :

0 comments on commit 23c4cfd

Please sign in to comment.