diff options
| author | Yavor Doganov | 2011-11-21 20:37:45 -0500 |
|---|---|---|
| committer | Glenn Morris | 2011-11-21 20:37:45 -0500 |
| commit | 816be9f6298874bd26a61c28a97be74ff2298d8d (patch) | |
| tree | f58bb9c5792b4618f30e9abcea7b8ae8b54ee196 | |
| parent | 84b54fdfa6d56214e9377fc959a761ff04705557 (diff) | |
| download | emacs-816be9f6298874bd26a61c28a97be74ff2298d8d.tar.gz emacs-816be9f6298874bd26a61c28a97be74ff2298d8d.zip | |
Small fix for --disable-ns-self-contained builds
Do not install arch-dependent files in the app bundle if
--disable-ns-self-contained is requested.
* configure.in (exec_prefix, libexecdir): Define relative to
ns_appbindir' only if configured for a self-contained app.
* Makefile.in (install-arch-dep): Test for the existence of
libexec in the Emacs.app bundle before executing commands.
Fixes: debbugs:1335
| -rw-r--r-- | ChangeLog | 9 | ||||
| -rw-r--r-- | Makefile.in | 8 | ||||
| -rw-r--r-- | configure.in | 4 |
3 files changed, 15 insertions, 6 deletions
| @@ -1,3 +1,12 @@ | |||
| 1 | 2011-11-22 Yavor Doganov <yavor@gnu.org> | ||
| 2 | |||
| 3 | Do not install arch-dependent files in the app bundle if | ||
| 4 | --disable-ns-self-contained is requested. (Bug#1335) | ||
| 5 | * configure.in (exec_prefix, libexecdir): Define relative to | ||
| 6 | `ns_appbindir' only if configured for a self-contained app. | ||
| 7 | * Makefile.in (install-arch-dep): Test for the existence of | ||
| 8 | libexec in the Emacs.app bundle before executing commands. | ||
| 9 | |||
| 1 | 2011-11-20 Andreas Schwab <schwab@linux-m68k.org> | 10 | 2011-11-20 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 11 | ||
| 3 | * configure.in: Remove reference to src/m/ibms390.h. | 12 | * configure.in: Remove reference to src/m/ibms390.h. |
diff --git a/Makefile.in b/Makefile.in index 47cba3f9070..1e86f5f0176 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -474,10 +474,10 @@ install-arch-dep: mkdir | |||
| 474 | if test -d share/emacs ; then dir=share/emacs/*/*; $(MV_DIRS); fi;\ | 474 | if test -d share/emacs ; then dir=share/emacs/*/*; $(MV_DIRS); fi;\ |
| 475 | if test -d share/info ; then dir=share/info; $(MV_DIRS) ; fi ; \ | 475 | if test -d share/info ; then dir=share/info; $(MV_DIRS) ; fi ; \ |
| 476 | rm -fr share ) ; \ | 476 | rm -fr share ) ; \ |
| 477 | ( cd ${ns_appbindir}libexec ; dir=emacs/*/*/* ; $(MV_DIRS); \ | 477 | ( cd ${ns_appbindir} ; \ |
| 478 | rm -fr emacs ) ; \ | 478 | if test -d libexec; then cd libexec ; dir=emacs/*/*/* ; \ |
| 479 | ( cd ${ns_appbindir}bin ; rm -f emacs emacs-24* ; \ | 479 | $(MV_DIRS); rm -fr emacs; \ |
| 480 | ln -sf ../libexec/* .) ; \ | 480 | cd ../bin; rm -f emacs emacs-24*; ln -sf ../libexec/* . ; fi ) ; \ |
| 481 | else true ; fi | 481 | else true ; fi |
| 482 | 482 | ||
| 483 | ## FIXME is the emacs-24* bit above really necessary and correct? | 483 | ## FIXME is the emacs-24* bit above really necessary and correct? |
diff --git a/configure.in b/configure.in index 204c0e650a7..3ff8962cef4 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1568,10 +1568,10 @@ if test "${HAVE_NS}" = yes; then | |||
| 1568 | window_system=nextstep | 1568 | window_system=nextstep |
| 1569 | with_xft=no | 1569 | with_xft=no |
| 1570 | # set up packaging dirs | 1570 | # set up packaging dirs |
| 1571 | exec_prefix=${ns_appbindir} | ||
| 1572 | libexecdir=${ns_appbindir}/libexec | ||
| 1573 | if test "${EN_NS_SELF_CONTAINED}" = yes; then | 1571 | if test "${EN_NS_SELF_CONTAINED}" = yes; then |
| 1574 | prefix=${ns_appresdir} | 1572 | prefix=${ns_appresdir} |
| 1573 | exec_prefix=${ns_appbindir} | ||
| 1574 | libexecdir=${ns_appbindir}/libexec | ||
| 1575 | fi | 1575 | fi |
| 1576 | ns_frag=$srcdir/src/ns.mk | 1576 | ns_frag=$srcdir/src/ns.mk |
| 1577 | NS_OBJ="fontset.o fringe.o image.o" | 1577 | NS_OBJ="fontset.o fringe.o image.o" |