emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106470: Small fix for --disable-ns-s


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106470: Small fix for --disable-ns-self-contained builds
Date: Mon, 21 Nov 2011 20:37:45 -0500
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106470
fixes bug(s): http://debbugs.gnu.org/1335
author: Yavor Doganov <address@hidden>
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Mon 2011-11-21 20:37:45 -0500
message:
  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.
modified:
  ChangeLog
  Makefile.in
  configure.in
=== modified file 'ChangeLog'
--- a/ChangeLog 2011-11-20 09:24:06 +0000
+++ b/ChangeLog 2011-11-22 01:37:45 +0000
@@ -1,3 +1,12 @@
+2011-11-22  Yavor Doganov  <address@hidden>
+
+       Do not install arch-dependent files in the app bundle if
+       --disable-ns-self-contained is requested.  (Bug#1335)
+       * 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.
+
 2011-11-20  Andreas Schwab  <address@hidden>
 
        * configure.in: Remove reference to src/m/ibms390.h.

=== modified file 'Makefile.in'
--- a/Makefile.in       2011-11-19 09:18:31 +0000
+++ b/Makefile.in       2011-11-22 01:37:45 +0000
@@ -474,10 +474,10 @@
            if test -d share/emacs ; then dir=share/emacs/*/*; $(MV_DIRS); fi;\
            if test -d share/info ; then dir=share/info; $(MV_DIRS) ; fi ; \
            rm -fr share ) ; \
-         ( cd ${ns_appbindir}libexec ; dir=emacs/*/*/* ; $(MV_DIRS); \
-           rm -fr emacs ) ; \
-         ( cd ${ns_appbindir}bin ; rm -f emacs emacs-24* ; \
-           ln -sf ../libexec/* .) ; \
+         ( cd ${ns_appbindir} ; \
+           if test -d libexec; then cd libexec ; dir=emacs/*/*/* ; \
+           $(MV_DIRS); rm -fr emacs; \
+           cd ../bin; rm -f emacs emacs-24*; ln -sf ../libexec/* . ; fi ) ; \
        else true ; fi
 
 ## FIXME is the emacs-24* bit above really necessary and correct?

=== modified file 'configure.in'
--- a/configure.in      2011-11-20 09:24:06 +0000
+++ b/configure.in      2011-11-22 01:37:45 +0000
@@ -1568,10 +1568,10 @@
   window_system=nextstep
   with_xft=no
   # set up packaging dirs
-  exec_prefix=${ns_appbindir}
-  libexecdir=${ns_appbindir}/libexec
   if test "${EN_NS_SELF_CONTAINED}" = yes; then
      prefix=${ns_appresdir}
+     exec_prefix=${ns_appbindir}
+     libexecdir=${ns_appbindir}/libexec
   fi
   ns_frag=$srcdir/src/ns.mk
   NS_OBJ="fontset.o fringe.o image.o"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]