From de8d47400fda9a5a1aa4c4670448ab90dee31724 Mon Sep 17 00:00:00 2001 From: Bert Gijsbers Date: Wed, 26 Sep 2018 20:39:07 +0200 Subject: [PATCH] Better links in html manpages. --- man/Makefile.am | 10 ++++++++-- man/icehelp.pod | 2 +- man/icewm-winoptions.pod | 2 +- man/icewm.pod | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/man/Makefile.am b/man/Makefile.am index 0aec2c092..bfe0b27e8 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -93,7 +93,10 @@ $(icewm_man1_htmls) $(extra_man1_htmls): %.1.html: %.pod --infile=$< \ --quiet \ --title="User Commands" | \ - $(SED) -r -e 's,http://man.he.net/man(.)/([^"]*),\2.\1.html,g' >$@ + $(SED) -r \ + -e 's,http://man.he.net/man(.)/(ice[^"]*),\2.\1.html,g' \ + -e 's,man.he.net/man(.)/([^"]*),manned.org/\2.\1,g' \ + -e 's,http:,https:,g' >$@ $(icewm_man5_htmls): %.5.html: %.pod $(AM_V_GEN)pod2html \ @@ -108,7 +111,10 @@ $(icewm_man5_htmls): %.5.html: %.pod --infile=$< \ --quiet \ --title="Standards, Environments and Macros" | \ - $(SED) -r -e 's,http://man.he.net/man(.)/([^"]*),\2.\1.html,g' >$@ + $(SED) -r \ + -e 's,http://man.he.net/man(.)/(ice[^"]*),\2.\1.html,g' \ + -e 's,man.he.net/man(.)/([^"]*),manned.org/\2.\1,g' \ + -e 's,http:,https:,g' >$@ $(icewm_man1_files) $(extra_man1_files): %.man: %.pod $(AM_V_GEN)pod2man --center="User Commands" \ diff --git a/man/icehelp.pod b/man/icehelp.pod index 3b98cc6dd..be377b783 100644 --- a/man/icehelp.pod +++ b/man/icehelp.pod @@ -12,7 +12,7 @@ B [I] I B is a very simple HTML browser that displays the document specified on the command line. It is used by L internal to -display the L and the manual pages. +display the L and the manual pages. =head1 ARGUMENTS diff --git a/man/icewm-winoptions.pod b/man/icewm-winoptions.pod index 3a34d702d..34b178c58 100644 --- a/man/icewm-winoptions.pod +++ b/man/icewm-winoptions.pod @@ -32,7 +32,7 @@ specific to applications or groups of applications. Options can control the border, whether it appears on the task bar, the window list, the system tray and the work spaces. Also its layer, geometry, whether it can be moved, resized and closed. Full details for this file are -explained in the L. +explained in the L. =head1 FORMAT diff --git a/man/icewm.pod b/man/icewm.pod index 9a39a941d..17af3545d 100644 --- a/man/icewm.pod +++ b/man/icewm.pod @@ -943,7 +943,7 @@ specific to applications or groups of applications. Options can control the border, whether it appears on the task bar, the window list, the system tray and the work spaces. Also its layer, geometry, whether it can be moved, resized and closed. Full details for this file are -explained in the L. +explained in the L. See L.