From: Glenn Morris Date: Wed, 16 Jan 2013 01:41:31 +0000 (-0500) Subject: * Makefile.in (install-arch-indep): Put back a chmod X-Git-Tag: emacs-24.2.93~54 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=94898d72a3f26c17db362e8d81fd3b6d8fac582b;p=emacs.git * Makefile.in (install-arch-indep): Put back a chmod that was removed 2012-05-19. (Bug#13430) --- diff --git a/ChangeLog b/ChangeLog index 05d15b7dc36..cddaaa58a5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-01-16 Glenn Morris + + * Makefile.in (install-arch-indep): Put back a chmod that was + removed 2012-05-19. (Bug#13430) + 2013-01-10 Glenn Morris * make-dist: Add options for xz compression and no compression. diff --git a/Makefile.in b/Makefile.in index 2916aeccd70..9f1e9707d1d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -534,6 +534,7 @@ install-arch-indep: lisp leim install-info install-man ${INSTALL_ARCH_INDEP_EXTR tar -xvf - && cat > /dev/null) || exit 1; \ [ "$${dir}" != "${srcdir}/etc" ] || rm -f $${dest}/DOC* ; \ 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 ; \ @@ -568,7 +569,9 @@ install-arch-indep: lisp leim install-info install-man ${INSTALL_ARCH_INDEP_EXTR done ) -chmod -R a+r $(DESTDIR)${datadir}/emacs/${version} ${COPYDESTS} -# The last chmod isn't needed at present. +## The above chmods are needed because "umask 022; tar ..." is not +## guaranteed to do the right thing; eg if we are root and tar is +## preserving source permissions. ## We install only the relevant DOC file if possible ## (ie DOC-${version}.buildnumber), otherwise DOC-${version}*.