]> Sergey Matveev's repositories - public-inbox.git/commitdiff
Makefile.PL: add dependency on MANIFEST contents
authorEric Wong <e@80x24.org>
Sun, 6 Oct 2019 23:01:49 +0000 (23:01 +0000)
committerEric Wong <e@80x24.org>
Mon, 7 Oct 2019 09:40:30 +0000 (09:40 +0000)
This prevents breakage when running installed scripts when a
user fetches from git and forgets to run "perl Makefile.PL"
before "make install".

Makefile.PL

index 8daeb4fb071177bfec0b3b4ce854c107fd405445..39b9b198042fc399c536e14a493fae9ebbc6131f 100644 (file)
@@ -90,5 +90,8 @@ check:: pure_all check-manifest
 lib/PublicInbox/UserContent.pm :: contrib/css/216dark.css
        \$(PERL) -I lib \$@ \$?
 
+# Ensure new .pm files will always be installed:
+Makefile.PL :: MANIFEST
+
 EOF
 }