diff options
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 117fdbe52ae..69757d59e6c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -574,6 +574,7 @@ install-arch-indep: info install-leim ${INSTALL_ARCH_INDEP_EXTRA} subdir=$(DESTDIR)${datadir}/emacs/site-lisp ; \ ${write_subdir} || true -unset CDPATH; \ + umask 022; ${MKDIR_P} $(DESTDIR)${docdir} ; \ if [ `(cd ./etc; /bin/pwd)` != `(cd $(DESTDIR)${docdir}; /bin/pwd)` ]; \ then \ fullversion=`./src/emacs --version | sed -n '1 s/GNU Emacs *//p'`; \ @@ -584,7 +585,6 @@ install-arch-indep: info install-leim ${INSTALL_ARCH_INDEP_EXTRA} docfile="DOC"; \ fi; \ echo "Copying etc/$${docfile} to $(DESTDIR)${docdir} ..." ; \ - umask 022; ${MKDIR_P} $(DESTDIR)${docdir} ; \ ${INSTALL_DATA} etc/$${docfile} $(DESTDIR)${docdir}/$${docfile}; \ (cd $(DESTDIR)$(docdir); \ $(set_installuser); \ |