]> git.eshelyaron.com Git - emacs.git/commitdiff
Install a self-contained NS build's libexec directly into the right place
authorGlenn Morris <rgm@gnu.org>
Thu, 17 May 2012 01:23:03 +0000 (21:23 -0400)
committerGlenn Morris <rgm@gnu.org>
Thu, 17 May 2012 01:23:03 +0000 (21:23 -0400)
This is rather than installing it in one place then moving it.

* configure.in (archlibdir): Set it for self-contained ns builds.
(libexecdir): Don't expand it now (this is mainly cosmetic).

* Makefile.in (ns_appbindir, ns_appresdir):
Move them before things that may refer to them.
(install-arch-dep): No need to relocate self-contained ns libexec.

* lib-src/Makefile.in (ns_appbindir): New, set by configure.

ChangeLog
Makefile.in
configure.in
lib-src/ChangeLog
lib-src/Makefile.in

index 0b7a79cc3d66a2975df6758079382fe5aa64d0da..04ce3736d5bfaabc43cffa9c73b16ef89fcea363 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2012-05-17  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (ns_appbindir, ns_appresdir):
+       Move them before things that may refer to them.
+       (install-arch-dep): No need to relocate self-contained ns libexec.
+
+       * configure.in (archlibdir): Set it for self-contained ns builds.
+       (libexecdir): Don't expand it now (this is mainly cosmetic).
+
 2012-05-16  Paul Eggert  <eggert@cs.ucla.edu>
 
        * configure.in: Simplify by removing CPP etc.
index 171b13aa368495daa9c555f21c1920407532a086..389bbf95f905ff1a54c76a3c6f5c87f46cbc0987 100644 (file)
@@ -90,6 +90,11 @@ configuration=@configuration@
 
 # ==================== Where To Install Things ====================
 
+# Location to install Emacs.app under GNUstep / Mac OS X.
+# Later values may use these.
+ns_appbindir=@ns_appbindir@
+ns_appresdir=@ns_appresdir@
+
 # The default location for installation.  Everything is placed in
 # subdirectories of this directory.  The default values for many of
 # the variables below are expressed in terms of this one, so you may
@@ -117,8 +122,10 @@ datadir=@datadir@
 sharedstatedir=@sharedstatedir@
 
 # Where to install and expect executable files to be run by Emacs
-# rather than directly by users, and other architecture-dependent
-# data.         ${archlibdir} is a subdirectory of this.
+# rather than directly by users (and other architecture-dependent
+# data, although Emacs does not have any).  The executables
+# are actually installed in ${archlibdir}, which is (normally)
+# a subdirectory of this.
 libexecdir=@libexecdir@
 
 # Where to install Emacs's man pages.
@@ -158,10 +165,6 @@ VPATH=@srcdir@
 # Where to find the application default.
 x_default_search_path=@x_default_search_path@
 
-# Location to install Emacs.app under NeXT/Open/GNUstep / Cocoa
-ns_appbindir=@ns_appbindir@
-ns_appresdir=@ns_appresdir@
-
 # Where the etc/emacs.desktop file is to be installed.
 desktopdir=$(datarootdir)/applications
 
@@ -475,10 +478,7 @@ install-arch-dep: mkdir
            fi ; \
            if test -d share/info ; then rm -fr info; mv share/info . ; fi ; \
            rm -fr share ) ; \
-         ( if cd ${ns_appbindir}/libexec ; then \
-             mv -f emacs/${version}/${configuration}/* . ; rm -fr emacs ; \
-             rm -f ../bin/emacs ../bin/$(EMACSFULL) ; \
-           fi ) ; \
+         rm -f ${ns_appbindir}/bin/emacs ${ns_appbindir}/bin/$(EMACSFULL); \
        else true ; fi
 
 ## FIXME NS self-contained: rather than installing emacs and
index e35f712c3b84e24aa9145c3edf53f046938649b9..8c3b32282417d06bd9a5dce7ca53cfba70acea4d 100644 (file)
@@ -1588,7 +1588,9 @@ if test "${HAVE_NS}" = yes; then
   if test "${EN_NS_SELF_CONTAINED}" = yes; then
      prefix=${ns_appresdir}
      exec_prefix=${ns_appbindir}
-     libexecdir=${ns_appbindir}/libexec
+     dnl This one isn't really used, only archlibdir is.
+     libexecdir="\${ns_appbindir}/libexec"
+     archlibdir="\${ns_appbindir}/libexec"
      LEIM_INSTALLDIR="\${ns_appresdir}/leim"
   fi
   ns_frag=$srcdir/src/ns.mk
index aa78c25d1e11ac00a33b0abeee7a52ac5c7b7f64..a4a1cffaa96f67def7c5edd94030c684df6afb4e 100644 (file)
@@ -1,3 +1,7 @@
+2012-05-17  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (ns_appbindir): New, set by configure.
+
 2012-05-12  Glenn Morris  <rgm@gnu.org>
 
        * Makefile.in (MKDIR_P): New, set by configure.
index be19b6dc15ca3ac544994a93588aeffd6496d717..1306e6606303c20be8b277590a9fc93a71baa27f 100644 (file)
@@ -45,6 +45,10 @@ TRANSFORM = @program_transform_name@
 
 # ==================== Where To Install Things ====================
 
+# Location to install Emacs.app under GNUstep / Mac OS X.
+# Later values may use this.
+ns_appbindir=@ns_appbindir@
+
 # The default location for installation.  Everything is placed in
 # subdirectories of this directory.  The default values for many of
 # the variables below are expressed in terms of this one, so you may