From 6bd67a6f0995d39931b3c458e2eab2032c69df26 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Tue, 10 Jan 2006 17:09:02 +0100 Subject: [PATCH] Preprocess elinks.1.in and elinkskeys.5 to add title and date fields Regenerate all man pages. --- doc/Makefile | 8 ++++++-- doc/man/man1/elinks.1.in | 2 +- doc/man/man5/elinks.conf.5 | 12 ++++-------- doc/man/man5/elinkskeys.5 | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index 07e122264..ed9ecfbea 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -127,12 +127,16 @@ $(XML_DIR)/%.man.xml: $(TXT_DIR)/%.man.txt $(MAN_DIR)/man1/elinks.1.in: $(XML_DIR)/elinks.1.man.xml $(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 $(XMLTO) -o $(MAN_DIR)/man5 man $< 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) $(LOCALES) $(HELP2DOC) --elinks=$(ELINKS) --elinksconf > $@ diff --git a/doc/man/man1/elinks.1.in b/doc/man/man1/elinks.1.in index 9207284f9..ab43307d2 100644 --- a/doc/man/man1/elinks.1.in +++ b/doc/man/man1/elinks.1.in @@ -17,7 +17,7 @@ .el .ne 3 .IP "\\$1" \\$2 .. -.TH "ELINKS" 1 "" "" "" +.TH "ELINKS" 1 "The ELinks text-browser" "2006-01-10" "The ELinks text-browser" .SH NAME elinks \- lynx-like alternative character mode WWW browser .SH "SYNOPSIS" diff --git a/doc/man/man5/elinks.conf.5 b/doc/man/man5/elinks.conf.5 index 7d2625214..0aa26bfdb 100644 --- a/doc/man/man5/elinks.conf.5 +++ b/doc/man/man5/elinks.conf.5 @@ -1,6 +1,6 @@ .\" 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 .\" @@ -8,7 +8,7 @@ .\" General Public License. .\" .\" 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 elinks.conf \- ELinks configuration file @@ -50,7 +50,7 @@ set document.browse.margin_width = 3 # Default document codepage. set document.codepage.assume = "ISO-8859-1" # 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 .SS Bookmarks (bookmarks) @@ -784,8 +784,6 @@ in dump output. .TP \f3document.dump.separator\f2 \f1 (document.dump.separator (default: ") .TP -\f3String\f2 Swhich\f1 (String which separates two dumps.) -.TP \f3document.dump.width\f2 \f1 (default: 80) Width of screen in characters when dumping documents. .PD @@ -2162,8 +2160,6 @@ Keep the session active even if the last terminal exits. Automatically save a snapshot of all tabs periodically. This will periodically bookmark the tabs of each terminal in a separate folder for recovery after a crash. -.TP -\f3This\f2 Tfeature\f1 (This feature requires bookmark support.) .SS Window tabs (ui.tabs) Window tabs settings. .TP @@ -2246,7 +2242,7 @@ in an xterm-like terminal. This way the document's title is shown on the window titlebar. .SH "DOCUMENT INFO" .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. .SH "SEE ALSO" .BR elinks (1), diff --git a/doc/man/man5/elinkskeys.5 b/doc/man/man5/elinkskeys.5 index a3bcc17cf..cf993318b 100644 --- a/doc/man/man5/elinkskeys.5 +++ b/doc/man/man5/elinkskeys.5 @@ -17,7 +17,7 @@ .el .ne 3 .IP "\\$1" \\$2 .. -.TH "ELINKSKEYS" 5 "" "" "" +.TH "ELINKSKEYS" 5 "ELinks keybindings" "2006-01-10" "ELinks keybindings" .SH NAME elinkskeys \- keybindings for ELinks .SH "SYNOPSIS"