diff options
author | Glenn Morris <rgm@gnu.org> | 2011-03-21 20:28:41 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-03-21 20:28:41 -0700 |
commit | 34cb1cc610f71fb880a2a767061aade29e93a983 (patch) | |
tree | 3cb5a4047a4bee8fd57de0f2763e347f1d38c48a /autogen | |
parent | fccee4ab7294f92e42ebf90786b7b301d0368e87 (diff) | |
download | emacs-34cb1cc610f71fb880a2a767061aade29e93a983.tar.gz |
copy_autogen tweaks.
* autogen/copy_autogen: Work from ./ or ../.
Fix time-stamps.
* autogen.sh: Doc fix.
Diffstat (limited to 'autogen')
-rwxr-xr-x | autogen/copy_autogen | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/autogen/copy_autogen b/autogen/copy_autogen index 4abdbd87c0f..2096636c38b 100755 --- a/autogen/copy_autogen +++ b/autogen/copy_autogen @@ -8,12 +8,17 @@ ## regenerate configure and will fail if you do not have the required ## tools. You will have to run this script again. +test -d autogen && cd autogen + if test ! -e config.in; then - echo "You must run this script from the autogen/ directory." + echo "Cannot find autogen/ directory." exit 1 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 Makefile.in ../lib/ |