mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-03 19:03:24 +00:00
Use symlink in installed bin/ directory, where supported
* configure.ac (AC_PROG_LN_S): Test for ln. * Makefile.in (LN_S): New, set by configure. (install-arch-dep): Use $LN_S.
This commit is contained in:
parent
327576483c
commit
9aa0092cdd
3 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2012-08-20 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* configure.ac (AC_PROG_LN_S): Test for ln.
|
||||
* Makefile.in (LN_S): New, set by configure.
|
||||
(install-arch-dep): Use $LN_S.
|
||||
|
||||
2012-08-19 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Merge from gnulib, incorporating:
|
||||
|
|
|
@ -246,6 +246,7 @@ INSTALL_INFO = @INSTALL_INFO@
|
|||
# By default, we uphold the dignity of our programs.
|
||||
INSTALL_STRIP =
|
||||
MKDIR_P = @MKDIR_P@
|
||||
LN_S = @LN_S@
|
||||
|
||||
# We use gzip to compress installed .el files.
|
||||
GZIP_PROG = @GZIP_PROG@
|
||||
|
@ -437,7 +438,7 @@ install-arch-dep: install-arch-indep install-doc
|
|||
${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs${EXEEXT} $(DESTDIR)${bindir}/$(EMACSFULL) || exit 1 ; \
|
||||
chmod 1755 $(DESTDIR)${bindir}/$(EMACSFULL) ; \
|
||||
rm -f $(DESTDIR)${bindir}/$(EMACS) ; \
|
||||
ln $(DESTDIR)${bindir}/$(EMACSFULL) $(DESTDIR)${bindir}/$(EMACS) || true ; \
|
||||
cd $(DESTDIR)${bindir} && $(LN_S) $(EMACSFULL) $(EMACS); \
|
||||
else \
|
||||
subdir=${ns_appresdir}/site-lisp; \
|
||||
${write_subdir} || exit 1; \
|
||||
|
|
|
@ -731,6 +731,7 @@ dnl AC_PROG_MKDIR_P
|
|||
dnl if test "x$RANLIB" = x; then
|
||||
dnl AC_PROG_RANLIB
|
||||
dnl fi
|
||||
AC_PROG_LN_S
|
||||
|
||||
AC_PATH_PROG(INSTALL_INFO, install-info, :,
|
||||
$PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue