[check_postgres] [commit] Add back in the index munging.
check_postgres at bucardo.org
check_postgres at bucardo.org
Sun May 3 17:53:13 UTC 2009
Committed by Greg Sabino Mullane <greg at endpoint.com>
Add back in the index munging.
---
Makefile.PL | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/Makefile.PL b/Makefile.PL
index ab510cc..3e98ffa 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/<link.*?>//" check_postgres.pl.html
- perl -pi -e "s~ git clone.*~ git clone http://bucardo.org/check_postgres.git</pre>~" check_postgres.pl.html
- perl -pi -e "s~<title>\S+(.+)~<title>check_postgres.pl\\1</TITLE>~" check_postgres.pl.html
- perl -pi -e "s~.*</title>~~" check_postgres.pl.html
- perl -pi -e "s~</TITLE>~</title>~" check_postgres.pl.html
- perl -pi -e "s~\`\`(.+?)''~"\\1"~g" check_postgres.pl.html
+ @ perl -pi -e "s/<link.*?>//" check_postgres.pl.html
+ @ perl -pi -e "s~ git clone.*~ git clone http://bucardo.org/check_postgres.git</pre>~" check_postgres.pl.html
+ @ perl -pi -e "s~<title>\S+(.+)~<title>check_postgres.pl\\1</TITLE>~" check_postgres.pl.html
+ @ perl -pi -e "s~.*</title>~~" check_postgres.pl.html
+ @ perl -pi -e "s~</TITLE>~</title>~" 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;
}
--
1.6.0.5
More information about the Check_postgres
mailing list