unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Achim Gratz <Stromeko@nexgo.de>
Cc: 12011@debbugs.gnu.org
Subject: bug#12011: Makefile.in: allow installation of $(FULLEMACS) without linking to $(EMACS)
Date: Mon, 20 Aug 2012 18:42:18 -0400	[thread overview]
Message-ID: <h11uj1gp85.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <871uj2c0b2.fsf@Rainer.invalid> (Achim Gratz's message of "Sun, 19 Aug 2012 18:29:37 +0200")


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	other threads:[~2012-08-20 22:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-21 17:42 bug#12011: Makefile.in: allow installation of $(FULLEMACS) without linking to $(EMACS) Achim Gratz
2012-08-19 16:29 ` Achim Gratz
2012-08-20 22:42   ` Glenn Morris [this message]
2012-08-21  4:51     ` Achim Gratz
2012-08-22  6:56       ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=h11uj1gp85.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=12011@debbugs.gnu.org \
    --cc=Stromeko@nexgo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).