diff options
| author | Glenn Morris | 2012-08-20 19:57:35 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-08-20 19:57:35 -0400 |
| commit | 24564fe1aab428c41e053b9c0848d9e7a8f2cb69 (patch) | |
| tree | d777ffcaca38f91481b8b92bd559158d3d74fdb6 /src | |
| parent | 9aa0092cdd378dd8f7a55896c31bb68d2be18b1c (diff) | |
| download | emacs-24564fe1aab428c41e053b9c0848d9e7a8f2cb69.tar.gz emacs-24564fe1aab428c41e053b9c0848d9e7a8f2cb69.zip | |
* src/Makefile.in: Don't assume that `ln -f' works.
Presumably it does work fine on all platforms currently building
Emacs, but the autoconf manual says not to rely on it.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/Makefile.in | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index bc18c0eafee..22383088763 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-08-20 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (emacs$(EXEEXT), bootstrap-emacs$(EXEEXT)): | ||
| 4 | Don't assume that `ln -f' works. | ||
| 5 | |||
| 1 | 2012-08-20 Eli Zaretskii <eliz@gnu.org> | 6 | 2012-08-20 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * .gdbinit: Use "set $dummy = ..." to avoid warnings from GDB 7.5 | 8 | * .gdbinit: Use "set $dummy = ..." to avoid warnings from GDB 7.5 |
diff --git a/src/Makefile.in b/src/Makefile.in index 4b1520ada62..1d89af31401 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -402,11 +402,13 @@ $(leimdir)/leim-list.el: bootstrap-emacs$(EXEEXT) | |||
| 402 | ## on all of $lisp, and emacs depends on DOC, so it is ok to use $lisp here. | 402 | ## on all of $lisp, and emacs depends on DOC, so it is ok to use $lisp here. |
| 403 | emacs$(EXEEXT): temacs$(EXEEXT) $(etc)/DOC $(lisp) $(leimdir)/leim-list.el | 403 | emacs$(EXEEXT): temacs$(EXEEXT) $(etc)/DOC $(lisp) $(leimdir)/leim-list.el |
| 404 | if test "$(CANNOT_DUMP)" = "yes"; then \ | 404 | if test "$(CANNOT_DUMP)" = "yes"; then \ |
| 405 | ln -f temacs$(EXEEXT) emacs$(EXEEXT); \ | 405 | rm -f emacs$(EXEEXT); \ |
| 406 | ln temacs$(EXEEXT) emacs$(EXEEXT); \ | ||
| 406 | else \ | 407 | else \ |
| 407 | LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump || exit 1; \ | 408 | LC_ALL=C $(RUN_TEMACS) -batch -l loadup dump || exit 1; \ |
| 408 | test "X$(PAXCTL)" = X || $(PAXCTL) -zex emacs$(EXEEXT); \ | 409 | test "X$(PAXCTL)" = X || $(PAXCTL) -zex emacs$(EXEEXT); \ |
| 409 | ln -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT); \ | 410 | rm -f bootstrap-emacs$(EXEEXT); \ |
| 411 | ln emacs$(EXEEXT) bootstrap-emacs$(EXEEXT); \ | ||
| 410 | fi | 412 | fi |
| 411 | 413 | ||
| 412 | ## We run make-docfile twice because the command line may get too long | 414 | ## We run make-docfile twice because the command line may get too long |
| @@ -600,7 +602,8 @@ $(lispsource)/loaddefs.el: $(BOOTSTRAPEMACS) $(VCSWITNESS) | |||
| 600 | bootstrap-emacs$(EXEEXT): temacs$(EXEEXT) | 602 | bootstrap-emacs$(EXEEXT): temacs$(EXEEXT) |
| 601 | cd ../lisp; $(MAKE) $(MFLAGS) update-subdirs | 603 | cd ../lisp; $(MAKE) $(MFLAGS) update-subdirs |
| 602 | if test "$(CANNOT_DUMP)" = "yes"; then \ | 604 | if test "$(CANNOT_DUMP)" = "yes"; then \ |
| 603 | ln -f temacs$(EXEEXT) bootstrap-emacs$(EXEEXT); \ | 605 | rm -f bootstrap-emacs$(EXEEXT); \ |
| 606 | ln temacs$(EXEEXT) bootstrap-emacs$(EXEEXT); \ | ||
| 604 | else \ | 607 | else \ |
| 605 | $(RUN_TEMACS) --batch --load loadup bootstrap || exit 1; \ | 608 | $(RUN_TEMACS) --batch --load loadup bootstrap || exit 1; \ |
| 606 | test "X$(PAXCTL)" = X || $(PAXCTL) -zex emacs$(EXEEXT); \ | 609 | test "X$(PAXCTL)" = X || $(PAXCTL) -zex emacs$(EXEEXT); \ |