[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 6/6] maint: use sed instead of maintaining 2 README files.
From: |
Ralf Wildenhues |
Subject: |
Re: [PATCH 6/6] maint: use sed instead of maintaining 2 README files. |
Date: |
Sat, 18 Sep 2010 08:40:48 +0200 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
* Gary V. Vaughan wrote on Sat, Sep 18, 2010 at 07:20:18AM CEST:
> * README.alpha: Deleted. It was mostly identical to README.
> * libltdl/config/edit-readme-alpha: New script to edit the
> contents of README in the dist tree prior to tarring up.
> * Makefile.am (dist-hook): Run it before rolling alpha release
> tarball.
For what it's worth ...
> --- /dev/null
> +++ b/libltdl/config/edit-readme-alpha
> +for file in "$@"; do
> + trap 'x=$?; rm $file.T; exit $x' 1 2 13 15
> +
> + 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 \
this script will wrongly exit with status 0 if the stdout redirection
fails at this point.
> + && mv -f $file.T $file
> +
> + test -f $file.T && {
> + rm $file.T
> + echo "$0: unable to edit $file"
> + exit 1
> + }
> +done
> +
> +exit 0
Cheers,
Ralf
- [PATCH 3/6] maint: improve `Reporting Bugs' in README and README.alpha., (continued)
[PATCH 1/6] maint: copy the Version Numbering section into README.alpha., Gary V. Vaughan, 2010/09/18
[PATCH 4/6] maint: reformat README `The Test Suites' for consistency., Gary V. Vaughan, 2010/09/18
[PATCH 6/6] maint: use sed instead of maintaining 2 README files., Gary V. Vaughan, 2010/09/18
- Re: [PATCH 6/6] maint: use sed instead of maintaining 2 README files.,
Ralf Wildenhues <=
- Re: [PATCH 6/6] maint: use sed instead of maintaining 2 README files., Gary V. Vaughan, 2010/09/18
- Re: [PATCH 6/6] maint: use sed instead of maintaining 2 README files., Ralf Wildenhues, 2010/09/20
- [PATCH] maint: edit-readme-alpha shouldn't try to re-edit during dist., Gary V. Vaughan, 2010/09/20
- Re: [PATCH] maint: edit-readme-alpha shouldn't try to re-edit during dist., Ralf Wildenhues, 2010/09/21
- Re: [PATCH] maint: edit-readme-alpha shouldn't try to re-edit during dist., Gary V. Vaughan, 2010/09/21
- Re: [PATCH] maint: edit-readme-alpha shouldn't try to re-edit during dist., Ralf Wildenhues, 2010/09/21
Re: README cleanups, Ralf Wildenhues, 2010/09/18