Bump date in index.html; make such bumping automagic via the Makefile.
authorGreg Sabino Mullane <[email protected]>
Wed, 18 Jun 2008 23:14:31 +0000 (19:14 -0400)
committerGreg Sabino Mullane <[email protected]>
Wed, 18 Jun 2008 23:14:31 +0000 (19:14 -0400)
Makefile
index.html

index 5b3dab77350757e27489ab5f3429184dc8e4468b..78212dc269763a7374d555772184b1ce5501de9e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ check_postgres.pl.html: check_postgres.pl
 index.html: check_postgres.pl
 
        perl -pi -e "s/\d+\.\d+\.\d+/`grep describes check_postgres.pl | cut -d' ' -f6`/" index.html
+       perl -pi -e "s/released on ([^\.]+)/released on `date +\"%B %d, %Y\"`/" index.html
 
 critic:
 
index efc74708377b993c40996fbaf541109618112977..c69be18288931244ceb7fed5ee5d6d5f22acd679 100644 (file)
@@ -21,7 +21,7 @@ h1 {
 
 <h1>check_postgres.pl</h1>
 
-<p><b>check_postgres.pl</b> is a script for checking the state of one or more Postgres databases and reporting back in a Nagios-friendly manner. It was developed by Greg Sabino Mullane of <a href="http://www.endpoint.com/">End Point Corporation</a> and is BSD-licensed. The latest version is <b>1.8.3</b>, and was released on June 10, 2008.</p>
+<p><b>check_postgres.pl</b> is a script for checking the state of one or more Postgres databases and reporting back in a Nagios-friendly manner. It was developed by Greg Sabino Mullane of <a href="http://www.endpoint.com/">End Point Corporation</a> and is BSD-licensed. The latest version is <b>1.8.3</b>, and was released on June 18, 2008.</p>
 
 <ul>
  <li><a href="/check_postgres/check_postgres.pl.html">Documentation for check_postgres 1.8.3</a></li>