Fix up title munging of html docs.
authorGreg Sabino Mullane <greg@endpoint.com>
Tue, 25 May 2010 15:11:23 +0000 (11:11 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Tue, 25 May 2010 15:11:23 +0000 (11:11 -0400)
Makefile.PL

index 1b91d8f264c2fd6a916c8659d7809a1bf9ffde19..7370a519c62aba227dc0466e499d46b3b259cc98 100644 (file)
@@ -89,9 +89,7 @@ sub clean { ## no critic (RequireArgUnpacking)
        pod2html check_postgres.pl > check_postgres.pl.html
        @ perl -pi -e "s/<link.*?>//" check_postgres.pl.html
        @ perl -pi -e "s~ git clone.*~ git clone git://bucardo.org/check_postgres.git</pre>~" check_postgres.pl.html
-       @ perl -pi -e "s~<title>\S+(.+)~<title>check_postgres.pl\\1</TITLE>~" check_postgres.pl.html
-       @ perl -pi -e "s~.*</title>~~" check_postgres.pl.html
-       @ perl -pi -e "s~</TITLE>~</title>~" check_postgres.pl.html
+       @ perl -pi -e "s~<title>\S+(.+)~<title>check_postgres.pl\\1~" check_postgres.pl.html
        @ perl -pi -e "s~\`\`(.+?)''~&quot;\\1&quot;~g" check_postgres.pl.html
        @ rm -f pod2htmd.tmp pod2htmi.tmp
 EOM