diff options
author | Greg Sabino Mullane | 2008-06-10 01:09:13 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2008-06-10 01:09:13 +0000 |
commit | 1ff4ea9cdb62ff0b12a3fe253fc7d828c76468d7 (patch) | |
tree | 9cabfe91c96b2dddd08dda8ee5c6066d38d42f91 | |
parent | 1822296ee33861c152bb590c1c3b1307ebdd1fbe (diff) |
Automate updating the version numbers in index.html
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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/<link.*?>//" 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 |