From: Eric Wong Date: Thu, 12 Dec 2019 08:04:53 +0000 (+0000) Subject: Makefile.PL: fix "dsyn" target X-Git-Tag: v1.3.0~230 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=8e02ffaf89afe2b39bf9618657de29bbff65c890 Makefile.PL: fix "dsyn" target The "dsyn" target needs to remain working, despite still being dependent on GNU-isms at the moment. Fixes: 73fe3421f1ecbdc8 ("build: support doc generation w/o GNU make") --- diff --git a/Makefile.PL b/Makefile.PL index 5faced63..0daa6107 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -22,6 +22,7 @@ my @syn = (@EXE_FILES, grep(m!^lib/.*\.pm$!, @manifest), @scripts); @syn = grep(!/DSKQXS\.pm/, @syn) if !eval { require IO::KQueue }; @syn = grep(!/Unsubscribe\.pm/, @syn) if !eval { require Crypt::CBC }; @syn = grep(!/SaPlugin/, @syn) if !eval { require Mail::SpamAssasin }; +$v->{syn_files} = \@syn; $v->{my_syntax} = [map { "$_.syntax" } @syn]; $v->{-m1} = [ map { (split('/'))[-1] } @EXE_FILES ]; $v->{-m5} = [ qw(public-inbox-config public-inbox-v1-format