diff options
author | Eric Wong <e@80x24.org> | 2019-05-08 19:24:07 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-05-08 19:24:07 +0000 |
commit | fe86054ee1e2d93b19762a34ed1aaebe43635ff0 (patch) | |
tree | 6504ddceac55dd03cad09d8bcc2a41eafe8bc273 /Makefile.PL | |
parent | a316ca7db9fd3ea7dded317ac6d4d0a6bf174fb3 (diff) | |
parent | 90c5a78c8f6239b27c32b816d1cd029196ba2fe2 (diff) | |
download | public-inbox-fe86054ee1e2d93b19762a34ed1aaebe43635ff0.tar.gz |
* origin/danga-bundle: DS: epoll: fix misordered EPOLL_CTL_DEL call DS: drop unused "_undef" sub syscall: drop readahead wrapper build: do not manify DS and Syscall pods DS: handle EINTR in IO::Poll path, too DS: workaround IO::Kqueue EINTR (mis-)handling DS: drop profiling support DS: remove unused fields and functions listener: use EPOLLEXCLUSIVE for listen sockets bundle Danga::Socket and Sys::Syscall
Diffstat (limited to 'Makefile.PL')
-rw-r--r-- | Makefile.PL | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL index e00c0158..3bb00725 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -8,6 +8,15 @@ chomp(my @manifest = (<$m>)); my @EXE_FILES = grep(m!^script/!, @manifest); my $PM_FILES = join(' ', grep(m!^lib/.*\.pm$!, @manifest)); +# Don't waste user's disk space by installing some pods from +# imported code or internal use only +my %man3 = map {; # semi-colon tells Perl this is a BLOCK (and not EXPR) + my $base = $_; + my $mod = $base; + $mod =~ s/\.\w+\z//; + "lib/PublicInbox/$_" => "blib/man3/PublicInbox::$mod.3" +} qw(Git.pm Import.pm WWW.pod); + WriteMakefile( NAME => 'PublicInbox', VERSION => '1.1.0-pre1', @@ -31,6 +40,7 @@ WriteMakefile( # We have more test dependencies, but do not force # users to install them. See INSTALL }, + MAN3PODS => \%man3, ); sub MY::postamble { |