]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove trailing / from $ns_appbindir
authorGlenn Morris <rgm@gnu.org>
Sat, 12 May 2012 18:10:37 +0000 (11:10 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 12 May 2012 18:10:37 +0000 (11:10 -0700)
* configure.in (ns_appbindir): Remove trailing "/".
* src/ns.mk: Update for ns_appbindir no longer having trailing "/".

ChangeLog
configure.in
src/ChangeLog
src/ns.mk

index 7599d2b38be7a184fd651d3e18143d1ad168bd87..b4b7bdb9f103193dfef08ff44d9e54bbf2b5e50d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-05-12  Glenn Morris  <rgm@gnu.org>
 
+       * configure.in (ns_appbindir): Remove trailing "/".
+
        * configure.in (AC_PROG_MKDIR_P): Call it, to set MKDIR_P.
        (MKDEPDIR): Use $MKDIR_P.
        * Makefile.in (MKDIR_P): New, set by configure.
index 0ee180633e673880dbdc068e7cbda9cb2302b503..46909d75f9e1ee557cb085709e63f8a585ef6a9f 100644 (file)
@@ -1568,20 +1568,17 @@ CPPFLAGS="$CPPFLAGS -x objective-c"
 CFLAGS="$CFLAGS -x objective-c"
 TEMACS_LDFLAGS2="\${LDFLAGS}"
 GNU_OBJC_CFLAGS=
-dnl I don't think it's especially important, but src/Makefile.in
-dnl (now the only user of ns_appdir) used to go to the trouble of adding a
-dnl trailing "/" to it, so now we do it here.
 if test "${with_ns}" != no; then
   if test "${opsys}" = darwin; then
      NS_IMPL_COCOA=yes
      ns_appdir=`pwd`/nextstep/Emacs.app
-     ns_appbindir=${ns_appdir}/Contents/MacOS/
+     ns_appbindir=${ns_appdir}/Contents/MacOS
      ns_appresdir=${ns_appdir}/Contents/Resources
      ns_appsrc=${srcdir}/nextstep/Cocoa/Emacs.base
   elif test -f $GNUSTEP_CONFIG_FILE; then
      NS_IMPL_GNUSTEP=yes
      ns_appdir=`pwd`/nextstep/Emacs.app
-     ns_appbindir=${ns_appdir}/
+     ns_appbindir=${ns_appdir}
      ns_appresdir=${ns_appdir}/Resources
      ns_appsrc=${srcdir}/nextstep/GNUstep/Emacs.base
      dnl FIXME sourcing this several times in subshells seems inefficient.
index 63eae11cd453770e23ffdc4a9499e8d3ea6c1af8..c5083cd6e4641f6c8c766b244bbe6de7f86ed78f 100644 (file)
@@ -1,3 +1,7 @@
+2012-05-12  Glenn Morris  <rgm@gnu.org>
+
+       * ns.mk: Update for ns_appbindir no longer having trailing "/".
+
 2012-05-12  Eli Zaretskii  <eliz@gnu.org>
 
        * lisp.mk (lisp): Add newcomment.elc.
index bdfee61bd0a4145f4f531e627f665a43449c527e..77fbf5845d91e963d226b86efae1192ce62fdb19 100644 (file)
--- a/src/ns.mk
+++ b/src/ns.mk
@@ -30,10 +30,10 @@ ${ns_appdir}: ${ns_appsrc}
        ${MKDIR_P} ${ns_appdir}
        ( cd ${ns_appsrc} ; tar cfh - . ) | ( cd ${ns_appdir} ; umask 022; tar xf - )
 
-${ns_appbindir}Emacs: emacs${EXEEXT}
+${ns_appbindir}/Emacs: emacs${EXEEXT}
        ${MKDIR_P} ${ns_appbindir}
-       cp -f emacs${EXEEXT} ${ns_appbindir}Emacs
+       cp -f emacs${EXEEXT} ${ns_appbindir}/Emacs
 
-ns-app: ${ns_appdir} ${ns_appbindir}Emacs
+ns-app: ${ns_appdir} ${ns_appbindir}/Emacs
 
 ### ns.mk ends here