copy_autogen tweaks.

* autogen/copy_autogen: Work from ./ or ../.
Fix time-stamps.
* autogen.sh: Doc fix.
This commit is contained in:
Glenn Morris 2011-03-21 20:28:41 -07:00
parent fccee4ab72
commit 34cb1cc610
3 changed files with 14 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2011-03-22 Glenn Morris <rgm@gnu.org>
* autogen/copy_autogen: Work from ./ or ../.
Fix time-stamps.
* autogen.sh: Doc fix.
2011-03-20 Glenn Morris <rgm@gnu.org> 2011-03-20 Glenn Morris <rgm@gnu.org>
* autogen/: New directory, to be excluded from releases. * autogen/: New directory, to be excluded from releases.

View file

@ -184,7 +184,7 @@ instead of this script.
If all else fails, you can try using the pre-built versions of the If all else fails, you can try using the pre-built versions of the
generated files by doing: generated files by doing:
cd autogen && ./copy_autogen ./autogen/copy_autogen
This is not recommended - see the comments in \`copy_autogen'. This is not recommended - see the comments in \`copy_autogen'.

View file

@ -8,12 +8,17 @@
## regenerate configure and will fail if you do not have the required ## regenerate configure and will fail if you do not have the required
## tools. You will have to run this script again. ## tools. You will have to run this script again.
test -d autogen && cd autogen
if test ! -e config.in; then if test ! -e config.in; then
echo "You must run this script from the autogen/ directory." echo "Cannot find autogen/ directory."
exit 1 exit 1
fi fi
cp configure aclocal.m4 ../ ## Order implied by top-level Makefile's rules, for time-stamps.
cp aclocal.m4 ../
cp configure ../
touch ../src/stamp-h.in
cp config.in ../src/ cp config.in ../src/
cp Makefile.in ../lib/ cp Makefile.in ../lib/