From 1ff4ea9cdb62ff0b12a3fe253fc7d828c76468d7 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Mon, 9 Jun 2008 21:09:13 -0400 Subject: [PATCH] Automate updating the version numbers in index.html --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.5