Skip to content

Commit 2454bdc

Browse files
committed
doc: Set html title with pod2html for make html
Pass title argument to pod2html, instead of editing the file afterwards. This helps avoiding broken tags in the resulting document.
1 parent f6bc7f0 commit 2454bdc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile.PL

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,9 @@ sub clean { ## no critic (RequireArgUnpacking)
105105
$string .= qq{\t@ gpg --verify check_postgres.pl.asc\n};
106106
$string .= qq{\n\nhtml : \n\t};
107107
$string .= <<'EOM';
108-
pod2html check_postgres.pl > check_postgres.pl.html
108+
pod2html --title check_postgres.pl check_postgres.pl > check_postgres.pl.html
109109
@ perl -pi -e "s/<link.*?>//" check_postgres.pl.html
110110
@ perl -pi -e "s~ git clone.*~ git clone git://bucardo.org/check_postgres.git</pre>~" check_postgres.pl.html
111-
@ perl -pi -e "s~<title>\S+(.+)~<title>check_postgres.pl\\1~" check_postgres.pl.html
112111
@ perl -pi -e "s~\`\`(.+?)''~&quot;\\1&quot;~g" check_postgres.pl.html
113112
@ rm -f pod2htmd.tmp pod2htmi.tmp
114113
EOM

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy