]> Sergey Matveev's repositories - public-inbox.git/blobdiff - Makefile.PL
test_common: add create_inbox helper sub
[public-inbox.git] / Makefile.PL
index b2f3393daa83d0fe6c45b2169d846b9fb16fac4f..8165e60108bbbc68686303c1aa367ae1110e1f51 100644 (file)
@@ -42,10 +42,14 @@ $v->{-m1} = [ map {
                        push @no_pod, $x;
                        ();
                }
-       } @EXE_FILES ];
+       } @EXE_FILES,
+       qw(
+       lei-add-external lei-config lei-daemon-kill lei-daemon-pid
+       lei-forget-external lei-import lei-init lei-ls-external lei-q)];
 $v->{-m5} = [ qw(public-inbox-config public-inbox-v1-format
                public-inbox-v2-format public-inbox-extindex-format) ];
-$v->{-m7} = [ qw(public-inbox-overview public-inbox-tuning) ];
+$v->{-m7} = [ qw(lei-overview public-inbox-overview public-inbox-tuning
+               public-inbox-glossary) ];
 $v->{-m8} = [ qw(public-inbox-daemon) ];
 my @sections = (1, 5, 7, 8);
 $v->{check_80} = [];
@@ -142,24 +146,21 @@ WriteMakefile(
                # We also depend on git.
                # Keep this sorted and synced to the INSTALL document
 
-               # libperl$PERL_VERSION,
-               # `perl5' on FreeBSD
-               # perl-Digest-SHA on RH-based
-               'Digest::SHA' => 0,
-
-               # libperl$PERL_VERSION or libencode-perl on Debian,
-               # `perl5' on FreeBSD
-               'Encode' => 2.35, # 2.35 shipped with 5.10.1
-
-               # libperl$PERL_VERSION + perl-modules-$PERL_VERSION
+               # perl-modules-5.xx or libperl5.xx in Debian-based
+               # part of "perl5" on FreeBSD
                'Compress::Raw::Zlib' => 0,
                'Compress::Zlib' => 0,
+               'Data::Dumper' => 0,
+               'Digest::SHA' => 0, # rpm: perl-Digest-SHA
+               'Encode' => 2.35, # 2.35 shipped with 5.10.1
                'IO::Compress::Gzip' => 0,
+               'IO::Uncompress::Gunzip' => 0,
+               'Storable' => 0, # rpm: perl-Storable
+               'Text::ParseWords' => 0, # rpm: perl-Text-ParseWords
 
                # Plack is needed for public-inbox-httpd and PublicInbox::WWW
                # 'Plack' => 0,
 
-               # TODO: this should really be made optional...
                'URI::Escape' => 0,
 
                # We have more test dependencies, but do not force
@@ -174,6 +175,10 @@ WriteMakefile(
                # ExtUtils::MakeMaker # this file won't run w/o it...
        },
        MAN3PODS => \%man3,
+       clean => {
+               FILES => 't/home*/setup* t/home*/t* t/home*/.public-inbox '.
+                       't/data-gen/*'
+       },
 );
 
 sub MY::postamble {