commit 6533e235e80ae4b2624b7c934ce989e029f669de
parent de39a2b05b3fe451e67f331a6c04c39d96bfc058
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Sat, 12 Nov 2005 07:50:03 +0000
when building, automatically generate an HTML version of the info page,
nano.html
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3168 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
3 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -136,6 +136,10 @@ CVS code -
do_yesno()
- Make mouse clicks on the Yes/No/All shortcuts work properly
when the MORE_SPACE flag is set. (DLR)
+- README.CVS:
+ - Mention that the minimum required version of texinfo is 4.0,
+ since that's the first version that supports generating HTML.
+ (DLR)
- doc/nano.texi:
- Fix inconsistent wording and punctuation. (DLR)
- Add missing configure options. (Mike Frysinger, minor tweaks
@@ -145,6 +149,9 @@ CVS code -
- doc/nanorc.sample:
- Tweak the "c-file" regex for characters to properly accept
'\"' and reject '"' and '''. (DLR)
+- doc/texinfo/Makefile.am:
+ - Automatically generate an HTML version of the info page,
+ nano.html. (DLR)
- src/Makefile.am:
- Add browser.c, help.c, and prompt.c to nano_SOURCES. (DLR)
diff --git a/README.CVS b/README.CVS
@@ -11,7 +11,7 @@ packages:
- automake (version >= 1.7)
- gettext (version >= 0.11.5)
- groff
-- texinfo
+- texinfo (version >= 4.0)
- cvs
- ssh (with support for the SSH version 2 protocol)
- glib 2.x (if your system doesn't have vsnprintf())
diff --git a/doc/texinfo/Makefile.am b/doc/texinfo/Makefile.am
@@ -2,4 +2,9 @@ info_TEXINFOS = nano.texi
MAKEINFO = makeinfo --no-split
-EXTRA_DIST = nano.info
+BUILT_SOURCES = nano.html
+
+nano.html: nano.texi
+ cat $< | makeinfo --no-split --html > $@
+
+EXTRA_DIST = $(info_TEXINFOS) $(BUILT_SOURCES)