]> git.eshelyaron.com Git - emacs.git/commitdiff
Minor fix for previous change.
authorGlenn Morris <rgm@gnu.org>
Fri, 18 May 2012 17:40:13 +0000 (13:40 -0400)
committerGlenn Morris <rgm@gnu.org>
Fri, 18 May 2012 17:40:13 +0000 (13:40 -0400)
Makefile.in

index 117fdbe52ae36e200d04fdcbabe9626cc90c4290..69757d59e6c00ac51f547fda5828fa8495d6e5e7 100644 (file)
@@ -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); \