X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=Makefile.PL;h=d626aef45ecb1c2b60b1759cd000930957ad352e;hp=2b3c7fd04c1035326a300048f9de82d78024526e;hb=2710d3105e70ff467eff9e977325628b4e9dd1c5;hpb=4d19d3a79188591a25d325128d2ed0a153766577 diff --git a/Makefile.PL b/Makefile.PL index 2b3c7fd0..d626aef4 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -11,11 +11,12 @@ my $t = {}; my @RELEASES = qw(v1.2.0 v1.1.0-pre1 v1.0.0); # do not sort $v->{news_deps} = [ map { "Documentation/RelNotes/$_.eml" } @RELEASES ]; $v->{txt} = [ qw(INSTALL README COPYING TODO HACKING) ]; -my @dtxt = grep(m!\ADocumentation/.*\.txt\z!, @manifest); +my @dtxt = grep(m!\ADocumentation/[^/]+\.txt\z!, @manifest); push @dtxt, 'Documentation/standards.txt'; +push @dtxt, @{$v->{txt}}; for my $txt (@dtxt) { my $html = $txt; - $html =~ s/\.txt\z/.html/; + $html =~ s/\.txt\z/.html/ or $html .= '.html'; $t->{"$html : $txt"} = [ "\$(txt2pre) <$txt" ]; } $v->{t_slash_star_dot_t} = [ grep(m!\At/.*\.t\z!, @manifest) ];