autoconf-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Autoconf source repository branch, master, updated. v2.68-134-


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.68-134-gac8beb0
Date: Mon, 23 Jan 2012 18:36:50 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=ac8beb00975688cc049035a6d347734bd6416d8a

The branch, master has been updated
       via  ac8beb00975688cc049035a6d347734bd6416d8a (commit)
      from  ae930c76c77f1ff923ca2c511b101735322bc211 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ac8beb00975688cc049035a6d347734bd6416d8a
Author: Eric Blake <address@hidden>
Date:   Mon Jan 23 10:48:03 2012 -0700

    INSTALL: convert to '' quoting, drop blank line at end
    
    This is allowed by recent GNU Coding Standards changes, and
    mirrors recent gnulib changes:
    https://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00267.html
    https://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00298.html
    
    I've confirmed that after these changes, the INSTALL generated and
    installed by autoconf matches the INSTALL.ISO in gnulib.
    
    * Makefile.am ($(srcdir)/INSTALL): Match gnulib INSTALL.ISO.
    
    Signed-off-by: Eric Blake <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 Makefile.am |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 7608874..a195241 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -39,13 +39,20 @@ AM_MAKEINFOFLAGS = --no-headers --no-validate --no-split
 
 if MAKE_CASE_SENSITIVE
 pkgdata_DATA = $(srcdir)/INSTALL
-
 MAINTAINERCLEANFILES = $(srcdir)/INSTALL
+
+# Don't leave blank line at end of file.
+OMIT_TRAILING_EMPTY_LINES = '/^$$/H; /^$$/d; x; s/\n//p; s/\n*//; x'
+# Prefer 'plain quotes' over `makeinfo quotes'.
+CONVERT_QUOTES = "s/\`\([^']*\)'/'\1'/g"
+
 $(srcdir)/INSTALL: $(top_srcdir)/doc/install.texi
-       echo @firstparagraphindent insert                       \
+       echo @firstparagraphindent insert                               \
          | cat - $(top_srcdir)/doc/install.texi > tmp.texi
-       $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS)        \
-         --plaintext -o $@ tmp.texi
+       $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS)                \
+            --plaintext tmp.texi                                       \
+         | sed -e $(CONVERT_QUOTES) -e $(OMIT_TRAILING_EMPTY_LINES)    \
+            > address@hidden && mv address@hidden $@
        rm -f tmp.texi
 endif
 


hooks/post-receive
-- 
GNU Autoconf source repository



reply via email to

[Prev in Thread] Current Thread [Next in Thread]