From: Greg Sabino Mullane Date: Tue, 10 Jun 2008 01:09:13 +0000 (-0400) Subject: Automate updating the version numbers in index.html X-Git-Tag: 2.9.0~318 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=1ff4ea9cdb62ff0b12a3fe253fc7d828c76468d7;p=check_postgres.git Automate updating the version numbers in index.html --- diff --git a/Makefile b/Makefile index d07db1532..5b3dab773 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,16 @@ +all: check_postgres.pl.html index.html + check_postgres.pl.html: check_postgres.pl pod2html check_postgres.pl > check_postgres.pl.html @ perl -pi -e "s///" check_postgres.pl.html @ rm -f pod2htmd.tmp pod2htmi.tmp +index.html: check_postgres.pl + + perl -pi -e "s/\d+\.\d+\.\d+/`grep describes check_postgres.pl | cut -d' ' -f6`/" index.html + critic: perlcritic check_postgres.pl