aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-03-21 20:28:41 -0700
committerGlenn Morris2011-03-21 20:28:41 -0700
commit34cb1cc610f71fb880a2a767061aade29e93a983 (patch)
tree3cb5a4047a4bee8fd57de0f2763e347f1d38c48a
parentfccee4ab7294f92e42ebf90786b7b301d0368e87 (diff)
downloademacs-34cb1cc610f71fb880a2a767061aade29e93a983.tar.gz
emacs-34cb1cc610f71fb880a2a767061aade29e93a983.zip
copy_autogen tweaks.
* autogen/copy_autogen: Work from ./ or ../. Fix time-stamps. * autogen.sh: Doc fix.
-rw-r--r--ChangeLog6
-rwxr-xr-xautogen.sh2
-rwxr-xr-xautogen/copy_autogen9
3 files changed, 14 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a58a60465d4..d13832b9060 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
12011-03-22 Glenn Morris <rgm@gnu.org>
2
3 * autogen/copy_autogen: Work from ./ or ../.
4 Fix time-stamps.
5 * autogen.sh: Doc fix.
6
12011-03-20 Glenn Morris <rgm@gnu.org> 72011-03-20 Glenn Morris <rgm@gnu.org>
2 8
3 * autogen/: New directory, to be excluded from releases. 9 * autogen/: New directory, to be excluded from releases.
diff --git a/autogen.sh b/autogen.sh
index a56b8d77826..03c39ee9456 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -184,7 +184,7 @@ instead of this script.
184If all else fails, you can try using the pre-built versions of the 184If all else fails, you can try using the pre-built versions of the
185generated files by doing: 185generated files by doing:
186 186
187cd autogen && ./copy_autogen 187./autogen/copy_autogen
188 188
189This is not recommended - see the comments in \`copy_autogen'. 189This is not recommended - see the comments in \`copy_autogen'.
190 190
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 @@
8## regenerate configure and will fail if you do not have the required 8## regenerate configure and will fail if you do not have the required
9## tools. You will have to run this script again. 9## tools. You will have to run this script again.
10 10
11test -d autogen && cd autogen
12
11if test ! -e config.in; then 13if test ! -e config.in; then
12 echo "You must run this script from the autogen/ directory." 14 echo "Cannot find autogen/ directory."
13 exit 1 15 exit 1
14fi 16fi
15 17
16cp configure aclocal.m4 ../ 18## Order implied by top-level Makefile's rules, for time-stamps.
19cp aclocal.m4 ../
20cp configure ../
21touch ../src/stamp-h.in
17cp config.in ../src/ 22cp config.in ../src/
18cp Makefile.in ../lib/ 23cp Makefile.in ../lib/
19 24