I'm installing this; it makes the first paragraph of each section of INSTALL 
indented consistently with the rest, without impacting the formatting of the 
autoconf manual.  This is based on Bruno's ideas on the gnulib list, but with 
fewer forks needed in the Makefile.

From: Eric Blake <[EMAIL PROTECTED]>
Date: Tue, 26 Aug 2008 15:29:17 -0600
Subject: [PATCH] Improve INSTALL formatting.

* doc/install.texi [!autoconf]: Ensure first paragraphs are
indented like all others in a plain text rendering.
* Makefile.am ($(srcdir)/INSTALL): Ensure plaintext formatting.
Reported by Bruno Haible.

Signed-off-by: Eric Blake <[EMAIL PROTECTED]>
---
 ChangeLog        |    8 ++++++++
 Makefile.am      |    2 +-
 doc/install.texi |    1 +
 3 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 40ff188..0aa373c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-08-26  Eric Blake  <[EMAIL PROTECTED]>
+
+       Improve INSTALL formatting.
+       * doc/install.texi [!autoconf]: Ensure first paragraphs are
+       indented like all others in a plain text rendering.
+       * Makefile.am ($(srcdir)/INSTALL): Ensure plaintext formatting.
+       Reported by Bruno Haible.
+
 2008-08-26  Stepan Kasal  <[EMAIL PROTECTED]>
 
        Check for case sensitive make.
diff --git a/Makefile.am b/Makefile.am
index 215c14b..bd4b114 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -41,7 +41,7 @@ if MAKE_CASE_SENSITIVE
 
 MAINTAINERCLEANFILES = $(srcdir)/INSTALL
 $(srcdir)/INSTALL: $(top_srcdir)/doc/install.texi
-       $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -o $@ \
+       $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) --plaintext -o $@ \
          $(top_srcdir)/doc/install.texi
 endif
 
diff --git a/doc/install.texi b/doc/install.texi
index f6620ec..a344b28 100644
--- a/doc/install.texi
+++ b/doc/install.texi
@@ -2,6 +2,7 @@
 @c the INSTALL file.
 
 @ifclear autoconf
[EMAIL PROTECTED] insert
 
 @unnumbered Installation Instructions
 
-- 
1.6.0





Reply via email to