bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12011: Makefile.in: allow installation of $(FULLEMACS) without linki


From: Glenn Morris
Subject: bug#12011: Makefile.in: allow installation of $(FULLEMACS) without linking to $(EMACS)
Date: Mon, 20 Aug 2012 18:42:18 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

How about just:

*** Makefile.in 2012-08-20 22:12:35 +0000
--- Makefile.in 2012-08-20 22:39:11 +0000
***************
*** 437,444 ****
--- 437,446 ----
        if test "${ns_self_contained}" = "no"; then \
          ${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs${EXEEXT} 
$(DESTDIR)${bindir}/$(EMACSFULL) || exit 1 ; \
          chmod 1755 $(DESTDIR)${bindir}/$(EMACSFULL) ; \
+         if test "x${EMACS_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; \



Then you can use

EMACS_NO_BIN_LINK=t make install





reply via email to

[Prev in Thread] Current Thread [Next in Thread]