aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-11-11 11:42:46 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-11-11 11:42:46 +0000
commit4b9defbcfe01fb05acf9ecd74a683390d6110872 (patch)
tree91ee7da689a27dadce7deb18834c7f04ddbf3939
parent13ae7323003334393343dfedac03c75e51c22be9 (diff)
downloadmailfromd-4b9defbcfe01fb05acf9ecd74a683390d6110872.tar.gz
mailfromd-4b9defbcfe01fb05acf9ecd74a683390d6110872.tar.bz2
* src/engine.c (check_on_host): Wait for an answer to QUIT.
Fix courtesy of Nacho Gonzalez Lopez. * src/bi_sa.m4: Revert the changes inadvertently pushed on 2007-10-21. * doc/Makefile.am: Use texi2html to produce HTML version of the manual. * doc/gendocs_template: Likewise * doc/gendocs.sh: Remove. Changes incorporated into the Texinfo repository. * doc/gendocs_template: Use conditionals, introduced in the Texinfo CVS. git-svn-id: file:///svnroot/mailfromd/trunk@1526 7a8a7f39-df28-0410-adc6-e0d955640f24
-rw-r--r--ChangeLog14
-rw-r--r--THANKS15
-rw-r--r--doc/Makefile.am4
-rwxr-xr-xdoc/gendocs.sh310
-rwxr-xr-xdoc/gendocs_template14
-rw-r--r--src/bi_sa.m4218
-rw-r--r--src/engine.c1
7 files changed, 82 insertions, 494 deletions
diff --git a/ChangeLog b/ChangeLog
index 39c25464..24ee13f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
12007-11-11 Sergey Poznyakoff <gray@gnu.org.ua>
2
3 * src/engine.c (check_on_host): Wait for an answer to QUIT.
4 Fix courtesy of Nacho Gonzalez Lopez.
5 * src/bi_sa.m4: Revert the changes inadvertently pushed on
6 2007-10-21.
7 * doc/Makefile.am: Use texi2html to produce HTML version of the
8 manual.
9 * doc/gendocs_template: Likewise
10 * doc/gendocs.sh: Remove. Changes incorporated into the Texinfo
11 repository.
12 * doc/gendocs_template: Use conditionals, introduced in the
13 Texinfo CVS.
14
12007-10-29 Sergey Poznyakoff <gray@gnu.org.ua> 152007-10-29 Sergey Poznyakoff <gray@gnu.org.ua>
2 16
3 * src/dnsbase.c (domain_name_cmp): Allow for trailing dot after 17 * src/dnsbase.c (domain_name_cmp): Allow for trailing dot after
diff --git a/THANKS b/THANKS
index af3cb58c..d5d03e90 100644
--- a/THANKS
+++ b/THANKS
@@ -2,9 +2,20 @@ Mailfromd THANKS file.
2 2
3Many people further contributed to mailfromd by reporting problems, 3Many people further contributed to mailfromd by reporting problems,
4suggesting various improvements or submitting actual code. Here is a list 4suggesting various improvements or submitting actual code. Here is a list
5of these people. Help us keep it complete and exempt of errors. 5of these people in alphabetical order. Help us keep it complete and exempt
6of errors.
6 7
8Alan Dobkin <MailFromD@omnicomp.org>
9Brent Spencer <bspencer@XsiteDesigns.com>
7Jan Rafaj <jr-mailfromd@cedric.unob.cz> 10Jan Rafaj <jr-mailfromd@cedric.unob.cz>
11Jeff Ballard <ballard@engr.wisc.edu>
12Nacho González López <nacho@es.gnu.org>
8Peter Markeloff <magic@farlep.net> 13Peter Markeloff <magic@farlep.net>
9Sergey Afonin <a_s_y@sama.ru> 14Sergey Afonin <a_s_y@sama.ru>
10Zeus Panchenko <zeus@dn.farlep.net> \ No newline at end of file 15Zeus Panchenko <zeus@dn.farlep.net>
16
17
18;;;; Local Variables:
19;;;; mode: Fundamental
20;;;; coding: utf-8
21;;;; End:
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 77ac5efe..2ac69c35 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -127,7 +127,7 @@ final: untabify master-menu
127 127
128MAKEINFOFLAGS=-D$(RENDITION) 128MAKEINFOFLAGS=-D$(RENDITION)
129 129
130GENDOCS=${top_srcdir}/doc/gendocs.sh 130GENDOCS=gendocs.sh
131 131
132TEXI2DVI=texi2dvi -t '@set $(RENDITION)' -E 132TEXI2DVI=texi2dvi -t '@set $(RENDITION)' -E
133 133
@@ -137,5 +137,5 @@ manual:
137 TEXINPUTS=$(srcdir):$(top_srcdir)/build-aux:$(TEXINPUTS) \ 137 TEXINPUTS=$(srcdir):$(top_srcdir)/build-aux:$(TEXINPUTS) \
138 MAKEINFO="$(MAKEINFO) $(MAKEINFOFLAGS)" \ 138 MAKEINFO="$(MAKEINFO) $(MAKEINFOFLAGS)" \
139 TEXI2DVI="$(TEXI2DVI) -t @finalout" \ 139 TEXI2DVI="$(TEXI2DVI) -t @finalout" \
140 $(GENDOCS) $(PACKAGE) '$(PACKAGE_NAME) manual' 140 $(GENDOCS) --texi2html $(PACKAGE) '$(PACKAGE_NAME) manual'
141 141
diff --git a/doc/gendocs.sh b/doc/gendocs.sh
deleted file mode 100755
index fc5beeb6..00000000
--- a/doc/gendocs.sh
+++ /dev/null
@@ -1,310 +0,0 @@
1#!/bin/sh
2# gendocs.sh -- generate a GNU manual in many formats. This script is
3# mentioned in maintain.texi. See the help message below for usage details.
4
5scriptversion=2007-10-23.16.gray
6
7# Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
8#
9# This program is free software; you can redistribute it and/or modify
10# it under the terms of the GNU General Public License as published by
11# the Free Software Foundation; either version 3 of the License,
12# or (at your option) any later version.
13#
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with this program. If not, see <http://www.gnu.org/licenses/>.
21#
22# Original author: Mohit Agarwal.
23# Send bug reports and any other correspondence to bug-texinfo@gnu.org.
24
25prog=`basename "$0"`
26srcdir=`pwd`
27
28scripturl="http://svn.gnu.org.ua/viewvc/mailfromd/trunk/doc/gendocs.sh"
29templateurl="http://svn.gnu.org.ua/viewvc/mailfromd/trunk/doc/gendocs_template"
30
31: ${SETLANG="env LANG= LC_MESSAGES= LC_ALL= LANGUAGE="}
32: ${MAKEINFO="makeinfo"}
33: ${TEXI2DVI="texi2dvi -t @finalout"}
34: ${DVIPS="dvips"}
35: ${DOCBOOK2HTML="docbook2html"}
36: ${DOCBOOK2PDF="docbook2pdf"}
37: ${DOCBOOK2PS="docbook2ps"}
38: ${DOCBOOK2TXT="docbook2txt"}
39: ${GENDOCS_TEMPLATE_DIR="."}
40: ${TEXI2HTML="texi2html"}
41unset CDPATH
42
43version="gendocs.sh $scriptversion
44
45Copyright (C) 2007 Free Software Foundation, Inc.
46There is NO warranty. You may redistribute this software
47under the terms of the GNU General Public License.
48For more information about these matters, see the files named COPYING."
49
50usage="Usage: $prog [OPTION]... PACKAGE MANUAL-TITLE
51
52Generate various output formats from PACKAGE.texinfo (or .texi or .txi) source.
53See the GNU Maintainers document for a more extensive discussion:
54 http://www.gnu.org/prep/maintain_toc.html
55
56Options:
57 -o OUTDIR write files into OUTDIR, instead of manual/.
58 --docbook convert to DocBook too (xml, txt, html, pdf and ps).
59 --html ARG pass indicated ARG to makeinfo for HTML targets.
60 --help display this help and exit successfully.
61 --version display version information and exit successfully.
62
63Simple example: $prog emacs \"GNU Emacs Manual\"
64
65Typical sequence:
66 cd YOURPACKAGESOURCE/doc
67 wget \"$scripturl\"
68 wget \"$templateurl\"
69 $prog YOURMANUAL \"GNU YOURMANUAL - One-line description\"
70
71Output will be in a new subdirectory \"manual\" (by default, use -o OUTDIR
72to override). Move all the new files into your web CVS tree, as
73explained in the Web Pages node of maintain.texi.
74
75MANUAL-TITLE is included as part of the HTML <title> of the overall
76manual/index.html file. It should include the name of the package being
77documented. manual/index.html is created by substitution from the file
78$GENDOCS_TEMPLATE_DIR/gendocs_template. (Feel free to modify the
79generic template for your own purposes.)
80
81If you have several manuals, you'll need to run this script several
82times with different YOURMANUAL values, specifying a different output
83directory with -o each time. Then write (by hand) an overall index.html
84with links to them all.
85
86If a manual's texinfo sources are spread across several directories,
87first copy or symlink all Texinfo sources into a single directory.
88(Part of the script's work is to make a tar.gz of the sources.)
89
90You can set the environment variables MAKEINFO, TEXI2DVI, and DVIPS to
91control the programs that get executed, and GENDOCS_TEMPLATE_DIR to
92control where the gendocs_template file is looked for. (With --docbook,
93the environment variables DOCBOOK2HTML, DOCBOOK2PDF, DOCBOOK2PS, and
94DOCBOOK2TXT are also respected.)
95
96By default, makeinfo is run in the default (English) locale, since
97that's the language of most Texinfo manuals. If you happen to have a
98non-English manual and non-English web site, check the SETLANG setting
99in the source.
100
101Email bug reports or enhancement requests to bug-texinfo@gnu.org.
102"
103
104calcsize()
105{
106 size=`ls -ksl $1 | awk '{print $1}'`
107 echo $size
108}
109
110outdir=manual
111html=
112PACKAGE=
113MANUAL_TITLE=
114
115while test $# -gt 0; do
116 case $1 in
117 --help) echo "$usage"; exit 0;;
118 --version) echo "$version"; exit 0;;
119 -o) shift; outdir=$1;;
120 --docbook) docbook=yes;;
121 --html) shift; html=$1;;
122 -*)
123 echo "$0: Unknown or ambiguous option \`$1'." >&2
124 echo "$0: Try \`--help' for more information." >&2
125 exit 1;;
126 *)
127 if test -z "$PACKAGE"; then
128 PACKAGE=$1
129 elif test -z "$MANUAL_TITLE"; then
130 MANUAL_TITLE=$1
131 else
132 echo "$0: extra non-option argument \`$1'." >&2
133 exit 1
134 fi;;
135 esac
136 shift
137done
138
139if test -s "$srcdir/$PACKAGE.texinfo"; then
140 srcfile=$srcdir/$PACKAGE.texinfo
141elif test -s "$srcdir/$PACKAGE.texi"; then
142 srcfile=$srcdir/$PACKAGE.texi
143elif test -s "$srcdir/$PACKAGE.txi"; then
144 srcfile=$srcdir/$PACKAGE.txi
145else
146 echo "$0: cannot find .texinfo or .texi or .txi for $PACKAGE in $srcdir." >&2
147 exit 1
148fi