* Makefile.in (install-arch-indep): Remove unneeded chmod.
authorGlenn Morris <rgm@gnu.org>
Sat, 19 May 2012 06:45:24 +0000 (23:45 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 19 May 2012 06:45:24 +0000 (23:45 -0700)
Set permissions of lisp/subdirs.el.

ChangeLog
Makefile.in

index bfe905c..3a44242 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-05-19  Glenn Morris  <rgm@gnu.org>
 
+       * Makefile.in (install-arch-indep): Remove unneeded chmod.
+       Set permissions of lisp/subdirs.el.
+
        * Makefile.in (SUBDIR): Add leim.  Update users.
 
        * Makefile.in (lib, lib-src, lisp): Check cd return value.
index 62df10b..d93efc6 100644 (file)
@@ -532,7 +532,6 @@ install-arch-indep: install-leim install-info install-man ${INSTALL_ARCH_INDEP_E
           [ "$${dir}" != "${srcdir}/etc" ] || rm -f $${dest}/DOC* ; \
           find $${dest} -exec chown $${installuser} {} ';' ;\
           for subdir in `find $${dest} -type d -print` ; do \
-            chmod a+rx $${subdir} ; \
             rm -f  $${subdir}/.gitignore ; \
             rm -f  $${subdir}/.arch-inventory ; \
             rm -f  $${subdir}/.DS_Store ; \
@@ -546,7 +545,7 @@ install-arch-indep: install-leim install-info install-man ${INSTALL_ARCH_INDEP_E
           done) ; \
        done
        -rm -f $(DESTDIR)${lispdir}/subdirs.el
-       $(srcdir)/update-subdirs $(DESTDIR)${lispdir}
+       umask 022; $(srcdir)/update-subdirs $(DESTDIR)${lispdir}
        subdir=$(DESTDIR)${datadir}/emacs/${version}/site-lisp ; \
          ${write_subdir}
        subdir=$(DESTDIR)${datadir}/emacs/site-lisp ; \
@@ -560,6 +559,8 @@ install-arch-indep: install-leim install-info install-man ${INSTALL_ARCH_INDEP_E
            done )
        -chmod -R a+r $(DESTDIR)${datadir}/emacs/${version} ${COPYDESTS}
 
+# The last chmod isn't needed at present.
+
 ## We install only the relevant DOC file if possible
 ## (ie DOC-${version}.buildnumber), otherwise DOC-${version}*.
 ## (Note "otherwise" is inaccurate since 2009-08-23.)