summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-01-19 12:38:13 -0800
committerGlenn Morris <rgm@gnu.org>2013-01-19 12:38:13 -0800
commit795e7a5b3202851a89a042578ee572962a723d65 (patch)
tree5e6525000b592b55f3b5d32415ccc05cedf969d4 /Makefile.in
parent59ac2d1316937bb013ef437885dcdc0225c71de9 (diff)
parent2fc71e3c45e521a062ea2ab17a4cfe19c3c6f941 (diff)
downloademacs-795e7a5b3202851a89a042578ee572962a723d65.tar.gz
Merge from emacs-24; up to 2012-12-11T09:51:12Z!dmantipov@yandex.ru
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index f0342e9bf4c..a2de4f3b164 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}*.