]> Sergey Matveev's repositories - public-inbox.git/blobdiff - Makefile.PL
Makefile.PL: MANIFEST dependency fix
[public-inbox.git] / Makefile.PL
index f650fdeaea143ee491801af95d02e9420a3dabf0..4aa0caa708e6dc1903d49bd5f7f1e21b21bf7175 100644 (file)
@@ -86,13 +86,16 @@ check-manifest :: MANIFEST
        if git ls-files >\$?.gen 2>&1; then diff -u \$? \$?.gen; fi
 
 check:: pure_all check-manifest
-       \$(EATMYDATA) prove -lvw -j\$(N)
+       \$(EATMYDATA) prove -bvw -j\$(N)
 
 lib/PublicInbox/UserContent.pm :: contrib/css/216dark.css
        \$(PERL) -I lib \$@ \$?
 
-# Ensure new .pm files will always be installed:
-Makefile.PL :: MANIFEST
+# Ensure new .pm files will always be installed by updating
+# the timestamp of Makefile.PL which forces Makefile to be remade
+Makefile.PL : MANIFEST
+       touch -r \$< \$@
+       \$(PERLRUN) \$@
 
 EOF
 }