aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2012-08-20 19:57:35 -0400
committerGlenn Morris2012-08-20 19:57:35 -0400
commit24564fe1aab428c41e053b9c0848d9e7a8f2cb69 (patch)
treed777ffcaca38f91481b8b92bd559158d3d74fdb6 /src
parent9aa0092cdd378dd8f7a55896c31bb68d2be18b1c (diff)
downloademacs-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/ChangeLog5
-rw-r--r--src/Makefile.in9
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 @@
12012-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
12012-08-20 Eli Zaretskii <eliz@gnu.org> 62012-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.
403emacs$(EXEEXT): temacs$(EXEEXT) $(etc)/DOC $(lisp) $(leimdir)/leim-list.el 403emacs$(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)
600bootstrap-emacs$(EXEEXT): temacs$(EXEEXT) 602bootstrap-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); \