diff options
| author | Glenn Morris | 2012-05-16 21:23:03 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-05-16 21:23:03 -0400 |
| commit | 3a4155de6637f737ff8b12ec3ceb2633f8e8fa26 (patch) | |
| tree | acd0c12cf49f440abe4a7e8cc7d5486af8a818c1 | |
| parent | a0a79cde7c978cf457c4a817b9a67bb4557f8a5c (diff) | |
| download | emacs-3a4155de6637f737ff8b12ec3ceb2633f8e8fa26.tar.gz emacs-3a4155de6637f737ff8b12ec3ceb2633f8e8fa26.zip | |
Install a self-contained NS build's libexec directly into the right place
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.
| -rw-r--r-- | ChangeLog | 9 | ||||
| -rw-r--r-- | Makefile.in | 20 | ||||
| -rw-r--r-- | configure.in | 4 | ||||
| -rw-r--r-- | lib-src/ChangeLog | 4 | ||||
| -rw-r--r-- | lib-src/Makefile.in | 4 |
5 files changed, 30 insertions, 11 deletions
| @@ -1,3 +1,12 @@ | |||
| 1 | 2012-05-17 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (ns_appbindir, ns_appresdir): | ||
| 4 | Move them before things that may refer to them. | ||
| 5 | (install-arch-dep): No need to relocate self-contained ns libexec. | ||
| 6 | |||
| 7 | * configure.in (archlibdir): Set it for self-contained ns builds. | ||
| 8 | (libexecdir): Don't expand it now (this is mainly cosmetic). | ||
| 9 | |||
| 1 | 2012-05-16 Paul Eggert <eggert@cs.ucla.edu> | 10 | 2012-05-16 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 11 | ||
| 3 | * configure.in: Simplify by removing CPP etc. | 12 | * configure.in: Simplify by removing CPP etc. |
diff --git a/Makefile.in b/Makefile.in index 171b13aa368..389bbf95f90 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -90,6 +90,11 @@ configuration=@configuration@ | |||
| 90 | 90 | ||
| 91 | # ==================== Where To Install Things ==================== | 91 | # ==================== Where To Install Things ==================== |
| 92 | 92 | ||
| 93 | # Location to install Emacs.app under GNUstep / Mac OS X. | ||
| 94 | # Later values may use these. | ||
| 95 | ns_appbindir=@ns_appbindir@ | ||
| 96 | ns_appresdir=@ns_appresdir@ | ||
| 97 | |||
| 93 | # The default location for installation. Everything is placed in | 98 | # The default location for installation. Everything is placed in |
| 94 | # subdirectories of this directory. The default values for many of | 99 | # subdirectories of this directory. The default values for many of |
| 95 | # the variables below are expressed in terms of this one, so you may | 100 | # the variables below are expressed in terms of this one, so you may |
| @@ -117,8 +122,10 @@ datadir=@datadir@ | |||
| 117 | sharedstatedir=@sharedstatedir@ | 122 | sharedstatedir=@sharedstatedir@ |
| 118 | 123 | ||
| 119 | # Where to install and expect executable files to be run by Emacs | 124 | # Where to install and expect executable files to be run by Emacs |
| 120 | # rather than directly by users, and other architecture-dependent | 125 | # rather than directly by users (and other architecture-dependent |
| 121 | # data. ${archlibdir} is a subdirectory of this. | 126 | # data, although Emacs does not have any). The executables |
| 127 | # are actually installed in ${archlibdir}, which is (normally) | ||
| 128 | # a subdirectory of this. | ||
| 122 | libexecdir=@libexecdir@ | 129 | libexecdir=@libexecdir@ |
| 123 | 130 | ||
| 124 | # Where to install Emacs's man pages. | 131 | # Where to install Emacs's man pages. |
| @@ -158,10 +165,6 @@ VPATH=@srcdir@ | |||
| 158 | # Where to find the application default. | 165 | # Where to find the application default. |
| 159 | x_default_search_path=@x_default_search_path@ | 166 | x_default_search_path=@x_default_search_path@ |
| 160 | 167 | ||
| 161 | # Location to install Emacs.app under NeXT/Open/GNUstep / Cocoa | ||
| 162 | ns_appbindir=@ns_appbindir@ | ||
| 163 | ns_appresdir=@ns_appresdir@ | ||
| 164 | |||
| 165 | # Where the etc/emacs.desktop file is to be installed. | 168 | # Where the etc/emacs.desktop file is to be installed. |
| 166 | desktopdir=$(datarootdir)/applications | 169 | desktopdir=$(datarootdir)/applications |
| 167 | 170 | ||
| @@ -475,10 +478,7 @@ install-arch-dep: mkdir | |||
| 475 | fi ; \ | 478 | fi ; \ |
| 476 | if test -d share/info ; then rm -fr info; mv share/info . ; fi ; \ | 479 | if test -d share/info ; then rm -fr info; mv share/info . ; fi ; \ |
| 477 | rm -fr share ) ; \ | 480 | rm -fr share ) ; \ |
| 478 | ( if cd ${ns_appbindir}/libexec ; then \ | 481 | rm -f ${ns_appbindir}/bin/emacs ${ns_appbindir}/bin/$(EMACSFULL); \ |
| 479 | mv -f emacs/${version}/${configuration}/* . ; rm -fr emacs ; \ | ||
| 480 | rm -f ../bin/emacs ../bin/$(EMACSFULL) ; \ | ||
| 481 | fi ) ; \ | ||
| 482 | else true ; fi | 482 | else true ; fi |
| 483 | 483 | ||
| 484 | ## FIXME NS self-contained: rather than installing emacs and | 484 | ## FIXME NS self-contained: rather than installing emacs and |
diff --git a/configure.in b/configure.in index e35f712c3b8..8c3b3228241 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1588,7 +1588,9 @@ if test "${HAVE_NS}" = yes; then | |||
| 1588 | if test "${EN_NS_SELF_CONTAINED}" = yes; then | 1588 | if test "${EN_NS_SELF_CONTAINED}" = yes; then |
| 1589 | prefix=${ns_appresdir} | 1589 | prefix=${ns_appresdir} |
| 1590 | exec_prefix=${ns_appbindir} | 1590 | exec_prefix=${ns_appbindir} |
| 1591 | libexecdir=${ns_appbindir}/libexec | 1591 | dnl This one isn't really used, only archlibdir is. |
| 1592 | libexecdir="\${ns_appbindir}/libexec" | ||
| 1593 | archlibdir="\${ns_appbindir}/libexec" | ||
| 1592 | LEIM_INSTALLDIR="\${ns_appresdir}/leim" | 1594 | LEIM_INSTALLDIR="\${ns_appresdir}/leim" |
| 1593 | fi | 1595 | fi |
| 1594 | ns_frag=$srcdir/src/ns.mk | 1596 | ns_frag=$srcdir/src/ns.mk |
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index aa78c25d1e1..a4a1cffaa96 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-05-17 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (ns_appbindir): New, set by configure. | ||
| 4 | |||
| 1 | 2012-05-12 Glenn Morris <rgm@gnu.org> | 5 | 2012-05-12 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * Makefile.in (MKDIR_P): New, set by configure. | 7 | * Makefile.in (MKDIR_P): New, set by configure. |
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index be19b6dc15c..1306e660630 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -45,6 +45,10 @@ TRANSFORM = @program_transform_name@ | |||
| 45 | 45 | ||
| 46 | # ==================== Where To Install Things ==================== | 46 | # ==================== Where To Install Things ==================== |
| 47 | 47 | ||
| 48 | # Location to install Emacs.app under GNUstep / Mac OS X. | ||
| 49 | # Later values may use this. | ||
| 50 | ns_appbindir=@ns_appbindir@ | ||
| 51 | |||
| 48 | # The default location for installation. Everything is placed in | 52 | # The default location for installation. Everything is placed in |
| 49 | # subdirectories of this directory. The default values for many of | 53 | # subdirectories of this directory. The default values for many of |
| 50 | # the variables below are expressed in terms of this one, so you may | 54 | # the variables below are expressed in terms of this one, so you may |