From: Greg Sabino Mullane Date: Sun, 3 May 2009 17:51:50 +0000 (-0400) Subject: Add back in the index munging. X-Git-Tag: 2.9.0~27 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=d457505f563663e4fc97374a0ee0110854177b5f;p=check_postgres.git Add back in the index munging. --- diff --git a/Makefile.PL b/Makefile.PL index ab510cc8e..3e98ffaff 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -64,6 +64,9 @@ my %opts = $string .= qq{\nsignature_asc : \n}; $string .= qq{\t@ gpg --yes -ba check_postgres.pl\n}; $string .= qq{\t@ gpg --verify check_postgres.pl.asc\n}; + $string .= qq{\nrelease : \n\t}; + $string .= q{perl -pi -e "s/released on ([^\.]+)/released on `date +\"%B %-d, %Y\"`/" index.html}; + $string .= "\n\n"; return $string; } @@ -71,13 +74,14 @@ my %opts = my $string = shift->SUPER::manifypods(@_); $string .= <<'EOM'; pod2html check_postgres.pl > check_postgres.pl.html - perl -pi -e "s///" check_postgres.pl.html - perl -pi -e "s~ git clone.*~ git clone http://bucardo.org/check_postgres.git~" check_postgres.pl.html - perl -pi -e "s~\S+(.+)~<title>check_postgres.pl\\1~" check_postgres.pl.html - perl -pi -e "s~.*~~" check_postgres.pl.html - perl -pi -e "s~~~" check_postgres.pl.html - perl -pi -e "s~\`\`(.+?)''~"\\1"~g" check_postgres.pl.html + @ perl -pi -e "s///" check_postgres.pl.html + @ perl -pi -e "s~ git clone.*~ git clone http://bucardo.org/check_postgres.git~" check_postgres.pl.html + @ perl -pi -e "s~\S+(.+)~<title>check_postgres.pl\\1~" check_postgres.pl.html + @ perl -pi -e "s~.*~~" check_postgres.pl.html + @ perl -pi -e "s~~~" check_postgres.pl.html + @ perl -pi -e "s~\`\`(.+?)''~"\\1"~g" check_postgres.pl.html @ rm -f pod2htmd.tmp pod2htmi.tmp + @ perl -pi -e "s/\d+\.\d+\.\d+/`grep describes check_postgres.pl | cut -d' ' -f6`/" index.html EOM return $string; }