1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00

Preprocess elinks.1.in and elinkskeys.5 to add title and date fields

Regenerate all man pages.
This commit is contained in:
Jonas Fonseca 2006-01-10 17:09:02 +01:00 committed by Jonas Fonseca
parent 06dd1e2e06
commit 6bd67a6f09
4 changed files with 12 additions and 12 deletions

View File

@ -127,12 +127,16 @@ $(XML_DIR)/%.man.xml: $(TXT_DIR)/%.man.txt
$(MAN_DIR)/man1/elinks.1.in: $(XML_DIR)/elinks.1.man.xml $(MAN_DIR)/man1/elinks.1.in: $(XML_DIR)/elinks.1.man.xml
$(XMLTO) -o $(MAN_DIR)/man1 man $< $(XMLTO) -o $(MAN_DIR)/man1 man $<
mv $(MAN_DIR)/man1/elinks.1 $@ sed 's/^\.TH "ELINKS" 1 .*/.TH "ELINKS" 1 "The ELinks text-browser" "$(shell date -I)" "The ELinks text-browser"/' \
< $(MAN_DIR)/man1/elinks.1 > $@
rm $(MAN_DIR)/man1/elinks.1
$(MAN_DIR)/man5/elinkskeys.5: $(XML_DIR)/elinkskeys.5.man.xml $(MAN_DIR)/man5/elinkskeys.5: $(XML_DIR)/elinkskeys.5.man.xml
$(XMLTO) -o $(MAN_DIR)/man5 man $< $(XMLTO) -o $(MAN_DIR)/man5 man $<
sed -e 's/\\fI\\fR'\''/\\fI\\'\''\\fR/' < $@ > $@.tmp sed -e 's/\\fI\\fR'\''/\\fI\\'\''\\fR/' < $@ > $@.tmp
mv $@.tmp $@ sed 's/^\.TH "ELINKSKEYS" 5 .*/.TH "ELINKSKEYS" 5 "ELinks keybindings" "$(shell date -I)" "ELinks keybindings"/' \
< $@.tmp > $@
rm $@.tmp
$(MAN_DIR)/man5/elinks.conf.5: $(ELINKS) $(MAN_DIR)/man5/elinks.conf.5: $(ELINKS)
$(LOCALES) $(HELP2DOC) --elinks=$(ELINKS) --elinksconf > $@ $(LOCALES) $(HELP2DOC) --elinks=$(ELINKS) --elinksconf > $@

View File

@ -17,7 +17,7 @@
.el .ne 3 .el .ne 3
.IP "\\$1" \\$2 .IP "\\$1" \\$2
.. ..
.TH "ELINKS" 1 "" "" "" .TH "ELINKS" 1 "The ELinks text-browser" "2006-01-10" "The ELinks text-browser"
.SH NAME .SH NAME
elinks \- lynx-like alternative character mode WWW browser elinks \- lynx-like alternative character mode WWW browser
.SH "SYNOPSIS" .SH "SYNOPSIS"

View File

@ -1,6 +1,6 @@
.\" elinks.conf.5 .\" elinks.conf.5
.\" .\"
.\" Generated by help2doc (Revision: 1.19) on 03 January 06 using output from ELinks version 0.12.GIT. .\" Generated by help2doc (Revision: 1.19) on 2006-01-10 using output from ELinks version 0.12.GIT.
.\" .\"
.\" Copyleft (c) 2002-2004 The ELinks project .\" Copyleft (c) 2002-2004 The ELinks project
.\" .\"
@ -8,7 +8,7 @@
.\" General Public License. <www.gnu.org/licenses/gpl.html> .\" General Public License. <www.gnu.org/licenses/gpl.html>
.\" .\"
.\" Process this file with groff -man -Tascii elinks.conf.5 .\" Process this file with groff -man -Tascii elinks.conf.5
.TH ELINKS.CONF 5 \"03 January 06\" .TH ELINKS.CONF 5 "ELinks configuration file" "2006-01-10" "ELinks configuration file"
.SH NAME .SH NAME
elinks.conf \- ELinks configuration file elinks.conf \- ELinks configuration file
@ -50,7 +50,7 @@ set document.browse.margin_width = 3
# Default document codepage. # Default document codepage.
set document.codepage.assume = "ISO-8859-1" set document.codepage.assume = "ISO-8859-1"
# User defined protocol handlers # User defined protocol handlers
set protocol.user.mailto.unix = "mutt %h -s \"%s\"" set protocol.user.mailto.unix = "mutt %h -s \e\*(lq%s\e\*(rq"
.SH OPTIONS .SH OPTIONS
.SS Bookmarks (bookmarks) .SS Bookmarks (bookmarks)
@ -784,8 +784,6 @@ in dump output.
.TP .TP
\f3document.dump.separator\f2 <str>\f1 (document.dump.separator <str> (default: ") \f3document.dump.separator\f2 <str>\f1 (document.dump.separator <str> (default: ")
.TP .TP
\f3String\f2 Swhich\f1 (String which separates two dumps.)
.TP
\f3document.dump.width\f2 <num>\f1 (default: 80) \f3document.dump.width\f2 <num>\f1 (default: 80)
Width of screen in characters when dumping documents. Width of screen in characters when dumping documents.
.PD .PD
@ -2162,8 +2160,6 @@ Keep the session active even if the last terminal exits.
Automatically save a snapshot of all tabs periodically. Automatically save a snapshot of all tabs periodically.
This will periodically bookmark the tabs of each terminal in a separate folder This will periodically bookmark the tabs of each terminal in a separate folder
for recovery after a crash. for recovery after a crash.
.TP
\f3This\f2 Tfeature\f1 (This feature requires bookmark support.)
.SS Window tabs (ui.tabs) .SS Window tabs (ui.tabs)
Window tabs settings. Window tabs settings.
.TP .TP
@ -2246,7 +2242,7 @@ in an xterm-like terminal. This way the document's title is
shown on the window titlebar. shown on the window titlebar.
.SH "DOCUMENT INFO" .SH "DOCUMENT INFO"
.PP .PP
Generated by help2doc (Revision: 1.19) on 03 January 06 using output from ELinks version 0.12.GIT. Generated by help2doc (Revision: 1.19) on 2006-01-10 using output from ELinks version 0.12.GIT.
help2doc is distributed with ELinks under the terms of the GPL. help2doc is distributed with ELinks under the terms of the GPL.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR elinks (1), .BR elinks (1),

View File

@ -17,7 +17,7 @@
.el .ne 3 .el .ne 3
.IP "\\$1" \\$2 .IP "\\$1" \\$2
.. ..
.TH "ELINKSKEYS" 5 "" "" "" .TH "ELINKSKEYS" 5 "ELinks keybindings" "2006-01-10" "ELinks keybindings"
.SH NAME .SH NAME
elinkskeys \- keybindings for ELinks elinkskeys \- keybindings for ELinks
.SH "SYNOPSIS" .SH "SYNOPSIS"