]> Sergey Matveev's repositories - public-inbox.git/commitdiff
Makefile.PL: fix "dsyn" target
authorEric Wong <e@80x24.org>
Thu, 12 Dec 2019 08:04:53 +0000 (08:04 +0000)
committerEric Wong <e@80x24.org>
Thu, 12 Dec 2019 18:55:15 +0000 (18:55 +0000)
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")
Makefile.PL

index 5faced6389bf3e5f2172c59b3a4b6ddf48cbec7f..0daa6107483214e3169fbfe05f5f0cc1bb74d363 100644 (file)
@@ -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