GNU bug report logs - #12011
Makefile.in: allow installation of $(FULLEMACS) without linking to $(EMACS)

Previous Next

Package: emacs;

Reported by: Achim Gratz <Stromeko <at> nexgo.de>

Date: Sat, 21 Jul 2012 17:50:01 UTC

Severity: wishlist

Tags: patch

Fixed in version 24.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 12011 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Achim Gratz <Stromeko <at> nexgo.de>
Cc: 12011 <at> debbugs.gnu.org
Subject: Re: bug#12011: Makefile.in: allow installation of $(FULLEMACS)
	without linking to $(EMACS)
Date: Mon, 20 Aug 2012 18:42:18 -0400
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




This bug report was last modified 12 years and 354 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.