]> Sergey Matveev's repositories - public-inbox.git/commitdiff
website: re-add top-level files
authorEric Wong <e@yhbt.net>
Fri, 24 Jan 2020 22:09:30 +0000 (22:09 +0000)
committerEric Wong <e@yhbt.net>
Sat, 25 Jan 2020 09:00:50 +0000 (09:00 +0000)
I noticed the TODO was out-of-date on the website, among some
other things.  This was broken in moving GNU-isms in the
Makefile to Perl.

Makefile.PL

index 2b3c7fd04c1035326a300048f9de82d78024526e..46ef99f9f5210a27b2b63568a34038e5b047ead8 100644 (file)
@@ -13,9 +13,10 @@ $v->{news_deps} = [ map { "Documentation/RelNotes/$_.eml" } @RELEASES ];
 $v->{txt} = [ qw(INSTALL README COPYING TODO HACKING) ];
 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) ];