summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
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/<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