aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-08-21 23:55:44 -0700
committerGlenn Morris2012-08-21 23:55:44 -0700
commit5af9cb6be0db0d830fe98e0370e4cca1a54ccfbd (patch)
tree5a4a251d5c7a0fc1140c38bf8894ec33c19c8dbb
parent2b2c07948eb4a047b90bdab313ec7fc0ec42ab76 (diff)
downloademacs-5af9cb6be0db0d830fe98e0370e4cca1a54ccfbd.tar.gz
emacs-5af9cb6be0db0d830fe98e0370e4cca1a54ccfbd.zip
Add option to not create bin/emacs link to bin/emacs-VERSION
* Makefile.in (install-arch-dep): If NO_BIN_LINK is non-null, do not create the bin/emacs link. * etc/NEWS: Mention this. Fixes: debbugs:12011
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.in6
-rw-r--r--etc/NEWS5
3 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f339482a98..5657f8bb3aa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
12012-08-22 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (install-arch-dep): If NO_BIN_LINK is non-null,
4 do not create the bin/emacs link. (Bug#12011)
5
12012-08-21 Paul Eggert <eggert@cs.ucla.edu> 62012-08-21 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 Merge from gnulib, incorporating: 8 Merge from gnulib, incorporating:
diff --git a/Makefile.in b/Makefile.in
index bf4c4b853a0..122a35d4416 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -437,8 +437,10 @@ install-arch-dep: install-arch-indep install-doc
437 if test "${ns_self_contained}" = "no"; then \ 437 if test "${ns_self_contained}" = "no"; then \
438 ${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs${EXEEXT} $(DESTDIR)${bindir}/$(EMACSFULL) || exit 1 ; \ 438 ${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs${EXEEXT} $(DESTDIR)${bindir}/$(EMACSFULL) || exit 1 ; \
439 chmod 1755 $(DESTDIR)${bindir}/$(EMACSFULL) ; \ 439 chmod 1755 $(DESTDIR)${bindir}/$(EMACSFULL) ; \
440 rm -f $(DESTDIR)${bindir}/$(EMACS) ; \ 440 if test "x${NO_BIN_LINK}" = x; then \
441 cd $(DESTDIR)${bindir} && $(LN_S) $(EMACSFULL) $(EMACS); \ 441 rm -f $(DESTDIR)${bindir}/$(EMACS) ; \
442 cd $(DESTDIR)${bindir} && $(LN_S) $(EMACSFULL) $(EMACS); \
443 fi; \
442 else \ 444 else \
443 subdir=${ns_appresdir}/site-lisp; \ 445 subdir=${ns_appresdir}/site-lisp; \
444 ${write_subdir} || exit 1; \ 446 ${write_subdir} || exit 1; \
diff --git a/etc/NEWS b/etc/NEWS
index fa8a9bd30d0..0c9ffe50093 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -39,6 +39,11 @@ may be useful.
39as it was confusingly-named and rarely useful. 39as it was confusingly-named and rarely useful.
40 40
41--- 41---
42** You can use `NO_BIN_LINK=t make install' to prevent the installation
43overwriting "emacs" in the installation bin/ directory with a link
44to emacs-VERSION.
45
46---
42** Emacs uses libtinfo in preference to libncurses, if available. 47** Emacs uses libtinfo in preference to libncurses, if available.
43 48
44--- 49---