Skip to content

Commit

Permalink
Better links in html manpages.
Browse files Browse the repository at this point in the history
  • Loading branch information
gijsbers committed Sep 26, 2018
1 parent c524186 commit de8d474
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
10 changes: 8 additions & 2 deletions man/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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" \
Expand Down
2 changes: 1 addition & 1 deletion man/icehelp.pod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ B<icehelp> [I<OPTIONS>] I<FILENAME>

B<icehelp> is a very simple HTML browser that displays the document
specified on the command line. It is used by L<icewm(1)> internal to
display the L<IceWM Manual> and the manual pages.
display the L<IceWM Manual|https://ice-wm.org/manual> and the manual pages.

=head1 ARGUMENTS

Expand Down
2 changes: 1 addition & 1 deletion man/icewm-winoptions.pod
Original file line number Diff line number Diff line change
Expand Up @@ -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<IceWM Manual>.
explained in the L<IceWM Manual|https://ice-wm.org/manual>.

=head1 FORMAT

Expand Down
2 changes: 1 addition & 1 deletion man/icewm.pod
Original file line number Diff line number Diff line change
Expand Up @@ -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<IceWM Manual>.
explained in the L<IceWM Manual|https://ice-wm.org/manual>.

See L<icewm-winoptions(5)>.

Expand Down

0 comments on commit de8d474

Please sign in to comment.