From 42d5aa3efc642f46b0dcac9f66d848fb838c04ff Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 18 May 2012 23:45:24 -0700 Subject: [PATCH 1/1] * Makefile.in (install-arch-indep): Remove unneeded chmod. Set permissions of lisp/subdirs.el. --- ChangeLog | 3 +++ Makefile.in | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bfe905c1ef..3a442429bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-05-19 Glenn Morris + * 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. diff --git a/Makefile.in b/Makefile.in index 62df10baa9..d93efc6779 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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.) -- 2.20.1