diff options
| author | Glenn Morris | 2012-08-21 23:55:44 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-08-21 23:55:44 -0700 |
| commit | 5af9cb6be0db0d830fe98e0370e4cca1a54ccfbd (patch) | |
| tree | 5a4a251d5c7a0fc1140c38bf8894ec33c19c8dbb | |
| parent | 2b2c07948eb4a047b90bdab313ec7fc0ec42ab76 (diff) | |
| download | emacs-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-- | ChangeLog | 5 | ||||
| -rw-r--r-- | Makefile.in | 6 | ||||
| -rw-r--r-- | etc/NEWS | 5 |
3 files changed, 14 insertions, 2 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-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 | |||
| 1 | 2012-08-21 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2012-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; \ |
| @@ -39,6 +39,11 @@ may be useful. | |||
| 39 | as it was confusingly-named and rarely useful. | 39 | as 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 | ||
| 43 | overwriting "emacs" in the installation bin/ directory with a link | ||
| 44 | to 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 | --- |