* 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
+2012-08-22 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (install-arch-dep): If NO_BIN_LINK is non-null,
+ do not create the bin/emacs link. (Bug#12011)
+
2012-08-21 Paul Eggert <eggert@cs.ucla.edu>
Merge from gnulib, incorporating:
if test "${ns_self_contained}" = "no"; then \
${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs${EXEEXT} $(DESTDIR)${bindir}/$(EMACSFULL) || exit 1 ; \
chmod 1755 $(DESTDIR)${bindir}/$(EMACSFULL) ; \
- rm -f $(DESTDIR)${bindir}/$(EMACS) ; \
- cd $(DESTDIR)${bindir} && $(LN_S) $(EMACSFULL) $(EMACS); \
+ if test "x${NO_BIN_LINK}" = x; then \
+ rm -f $(DESTDIR)${bindir}/$(EMACS) ; \
+ cd $(DESTDIR)${bindir} && $(LN_S) $(EMACSFULL) $(EMACS); \
+ fi; \
else \
subdir=${ns_appresdir}/site-lisp; \
${write_subdir} || exit 1; \
** The configure option '--disable-maintainer-mode' has been removed,
as it was confusingly-named and rarely useful.
+---
+** You can use `NO_BIN_LINK=t make install' to prevent the installation
+overwriting "emacs" in the installation bin/ directory with a link
+to emacs-VERSION.
+
---
** Emacs uses libtinfo in preference to libncurses, if available.