Minor NS build fixes.
authorGlenn Morris <rgm@gnu.org>
Sat, 15 May 2010 00:48:53 +0000 (17:48 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 15 May 2010 00:48:53 +0000 (17:48 -0700)
* Makefile.in (install-arch-dep): Update odd NS rule for Emacs version.

* src/Makefile.in (${ns_appdir}): Simplify using umask.

ChangeLog
Makefile.in
src/ChangeLog
src/Makefile.in

index fabf7b2..1b52a37 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2010-05-15  Glenn Morris  <rgm@gnu.org>
 
+       * Makefile.in (install-arch-dep): Update odd NS rule for Emacs version.
+
        * Makefile.in (install-arch-indep): Remove references to RCS, CVS,
        and other files that no longer exist.
 
index 245ec6c..d21a9e5 100644 (file)
@@ -425,10 +425,15 @@ install-arch-dep: mkdir
            rm -fr share ) ; \
          ( cd ${ns_appbindir}/libexec ; dir=emacs/*/*/* ; $(MV_DIRS); \
            rm -fr emacs ) ; \
-         ( cd ${ns_appbindir}/bin ; rm -f emacs emacs-23* ; \
+         ( cd ${ns_appbindir}/bin ; rm -f emacs emacs-24* ; \
            ln -sf ../libexec/* .) ; \
        else true ; fi
 
+## FIXME is the emacs-24* bit above really necessary and correct?
+## What if I have 24.1 and 24.2 installed at the same time?
+## In any case, it should use something like echo $version | sed 's/\..*//'
+## instead of hard-coding a version.
+
 ## http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg01672.html
 ## Needs to be the user running install, so configure can't set it.
 set_installuser=for installuser in $${LOGNAME} $${USERNAME} $${USER} \
index ec0b9ee..ff0dbdd 100644 (file)
@@ -1,5 +1,7 @@
 2010-05-15  Glenn Morris  <rgm@gnu.org>
 
+       * Makefile.in (${ns_appdir}): Simplify using umask.
+
        * Makefile.in (${ns_appdir}): Remove references to CVS-related files.
 
 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
index 3925938..e4f7f07 100644 (file)
@@ -972,9 +972,7 @@ textprop.o: textprop.c buffer.h window.h $(INTERVALS_H) \
 ${ns_appdir}: ${ns_appsrc}
        rm -fr ${ns_appdir}
        mkdir -p ${ns_appdir}
-       ( cd ${ns_appsrc} ; tar cfh - . ) | ( cd ${ns_appdir} ; tar xf - )
-       ( cd ${ns_appdir} ; for subdir in `find . -type d -print` ; do \
-               chmod a+rx $${subdir} ; done ; )
+       ( cd ${ns_appsrc} ; tar cfh - . ) | ( cd ${ns_appdir} ; umask 022; tar xf - )
 
 ${ns_appbindir}Emacs: emacs${EXEEXT}
        mkdir -p ${ns_appbindir}