From: Gary V. Vaughan Date: Fri, 3 Jan 2014 05:21:40 +0000 (+1300) Subject: edit-readme-alpha: adjust for recent README edits. X-Git-Tag: v2.4.3~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ef95183f0ae64d1cdbfeb68d3ad6ce37e6e9b97;p=thirdparty%2Flibtool.git edit-readme-alpha: adjust for recent README edits. * 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 --- diff --git a/README.md b/README.md index 96898b46f..5e41f2e8e 100644 --- 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][]. diff --git a/build-aux/edit-readme-alpha b/build-aux/edit-readme-alpha index 390994ab5..166584c71 100755 --- a/build-aux/edit-readme-alpha +++ b/build-aux/edit-readme-alpha @@ -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"