X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Makefile.PL;h=4f253125d55fd3d5bbf961c1a74cf6e6dbdb9798;hb=4d254238299f950c4a7f94ffd2e0c1fba28c74a4;hp=621baf60d3ace4ffb474144543ef3e567e28519a;hpb=8968889e3ebfa09dd2c80fe8b917b83ac13ff356;p=public-inbox.git diff --git a/Makefile.PL b/Makefile.PL index 621baf60..4f253125 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -3,7 +3,7 @@ # License: AGPLv3 or later (https://www.gnu.org/licenses/agpl-3.0.txt) use strict; use ExtUtils::MakeMaker; -my @EXE_FILES = split("\n", `git ls-files 'public-inbox*' 2>/dev/null`); +my @EXE_FILES = split("\n", `git ls-files 'script/*' 2>/dev/null`); my $PM_FILES = `git ls-files lib '*.pm' 2>/dev/null`; $PM_FILES =~ tr/\n/ /; @@ -14,16 +14,15 @@ WriteMakefile( ABSTRACT => 'public-inbox server infrastructure', EXE_FILES => \@EXE_FILES, PREREQ_PM => { - # note: we use ssoma(1) and spamc(1), NOT the Perl modules - # We also depend on git through ssoma. + # note: we use spamc(1), NOT the Perl modules + # We also depend on git. # Keep this sorted and synced to the INSTALL document 'Date::Parse' => 0, - 'Email::Address' => 0, 'Email::Filter' => 0, 'Email::MIME' => 0, 'Email::MIME::ContentType' => 0, + 'Email::Simple' => 0, 'Encode::MIME::Header' => 0, - 'File::Path::Expand' => 0, 'IPC::Run' => 0, 'Mail::Thread' => '2.5', # 2.5+ needed for Email::Simple compat 'Plack' => 0, @@ -35,10 +34,15 @@ WriteMakefile( sub MY::postamble { </dev/null || echo 2) + 1))) +SCRIPTS := scripts/ssoma-replay +my_syntax := \$(addsuffix .syntax, $PM_FILES \$(EXE_FILES) \$(SCRIPTS)) -N := \$(shell echo \$\$(( \$\$(nproc 2>/dev/null || echo 2) + 1))) %.syntax :: @\$(PERL) -I lib -c \$(subst .syntax,,\$@) @@ -46,7 +50,7 @@ N := \$(shell echo \$\$(( \$\$(nproc 2>/dev/null || echo 2) + 1))) syntax:: \$(my_syntax) check:: pure_all - prove -lv -j\$(N) + \$(EATMYDATA) prove -lv -j\$(N) EOF }