]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
edit-readme-alpha: adjust for recent README edits.
authorGary V. Vaughan <gary@gnu.org>
Fri, 3 Jan 2014 05:21:40 +0000 (18:21 +1300)
committerGary V. Vaughan <gary@gnu.org>
Fri, 3 Jan 2014 05:29:19 +0000 (18:29 +1300)
* build-aux/edit-readme-alpha: Adjust regexps for recent README
improvements.
* README.md: Fix a SPACE-TAB sanity check failure.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
README.md
build-aux/edit-readme-alpha

index 96898b46f83477816124dbf6363222d4c83a01a2..5e41f2e8eabf0841538720e1622bad8ffe611b0d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -120,7 +120,7 @@ that further limiting of the recursive set of tests is possible.  For
 example, to run only the template tests within the `max_cmd_len`, use:
 
     gmake check TESTSUITEFLAGS="-v -x -k max_cmd_len \
-               INNER_TESTSUITEFLAGS=',template -v -x'"
+                INNER_TESTSUITEFLAGS=',template -v -x'"
 
 If you wish to report test failures to the libtool list, you need to
 send the file `tests/testsuite.log` to the [bug mailing list][].
index 390994ab5e890de8adaab5537968c6067dd833c7..166584c71edbad0296b1ee175ef5a1f24fdcc4c3 100755 (executable)
@@ -64,12 +64,12 @@ for file in "$@"; do
 
   # Make sure the paragraph we are matching has not been edited since
   # this script was written.
-  matched=`sed -n -e '/^This is GNU Libtool,/,/^interface\.$/p' $file \
+  matched=`sed -n -e '/^\[GNU Libtool\]\[libtool\] is/,/^consistent, portable interface\.$/p' $file \
            |wc -l |sed 's|^ *||'`
 
   # Unless, of course, it was edited by this script already.
   test 3 = "$matched" \
-      || matched=`sed -n -e '/^This is an alpha testing release/,/behind a consistent, portable interface\.$/p' $file \
+      || matched=`sed -n -e '/^This is an alpha testing release/,/a consistent, portable interface\.$/p' $file \
                   |wc -l |sed 's|^ *||'`
 
   test 3 = "$matched" \
@@ -79,10 +79,10 @@ for file in "$@"; do
   trap 'x=$?; rm $file.T; exit $x' 1 2 13 15
 
   # Edit the first paragraph to be suitable for an alpha release.
-  sed -e '/^This is GNU Libtool,/,/^interface.$/c\
-This is an alpha testing release of GNU Libtool, a generic library\
-support script.  Libtool hides the complexity of using shared libraries\
-behind a consistent, portable interface.' $file > $file.T
+  sed -n '/^\[GNU Libtool\]\[libtool\] is/,/^consistent, portable interface\.$/c\
+This is an alpha testing release of [GNU Libtool][libtool], a generic\
+library support script.  [Libtool][] hides the complexity of using shared\
+libraries behind a consistent, portable interface.' $file > $file.T
 
   # Diagnose redirection failure.
   test -f "$file.T" || func_fatal_error "Unable to write $file.T"