diff options
| author | Glenn Morris | 2011-03-21 20:28:41 -0700 |
|---|---|---|
| committer | Glenn Morris | 2011-03-21 20:28:41 -0700 |
| commit | 34cb1cc610f71fb880a2a767061aade29e93a983 (patch) | |
| tree | 3cb5a4047a4bee8fd57de0f2763e347f1d38c48a | |
| parent | fccee4ab7294f92e42ebf90786b7b301d0368e87 (diff) | |
| download | emacs-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-- | ChangeLog | 6 | ||||
| -rwxr-xr-x | autogen.sh | 2 | ||||
| -rwxr-xr-x | autogen/copy_autogen | 9 |
3 files changed, 14 insertions, 3 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2011-03-20 Glenn Morris <rgm@gnu.org> | 7 | 2011-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. | |||
| 184 | If all else fails, you can try using the pre-built versions of the | 184 | If all else fails, you can try using the pre-built versions of the |
| 185 | generated files by doing: | 185 | generated files by doing: |
| 186 | 186 | ||
| 187 | cd autogen && ./copy_autogen | 187 | ./autogen/copy_autogen |
| 188 | 188 | ||
| 189 | This is not recommended - see the comments in \`copy_autogen'. | 189 | This 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 | ||
| 11 | test -d autogen && cd autogen | ||
| 12 | |||
| 11 | if test ! -e config.in; then | 13 | if 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 |
| 14 | fi | 16 | fi |
| 15 | 17 | ||
| 16 | cp configure aclocal.m4 ../ | 18 | ## Order implied by top-level Makefile's rules, for time-stamps. |
| 19 | cp aclocal.m4 ../ | ||
| 20 | cp configure ../ | ||
| 21 | touch ../src/stamp-h.in | ||
| 17 | cp config.in ../src/ | 22 | cp config.in ../src/ |
| 18 | cp Makefile.in ../lib/ | 23 | cp Makefile.in ../lib/ |
| 19 | 24 | ||