]> git.eshelyaron.com Git - emacs.git/commitdiff
(mkdir): If we create ${datadir}, make it world-readable.
authorRichard M. Stallman <rms@gnu.org>
Fri, 9 Apr 1999 19:23:31 +0000 (19:23 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 9 Apr 1999 19:23:31 +0000 (19:23 +0000)
(install-arch-indep): Make ${datadir}/emacs world-readable.

Makefile.in

index fb91f92acc89afacc83e99cbc791bff447a8e75f..9953dd4db9312a79c9442ae304888478a74bf047 100644 (file)
@@ -400,7 +400,7 @@ install-arch-indep: mkdir
             ${INSTALL_INFO} --dir-file=${infodir}/dir --info-file=${infodir}/$$f); \
          done; \
        else true; fi
-       -chmod -R a+r ${COPYDESTS} ${infodir}
+       -chmod -R a+r ${datadir}/emacs ${COPYDESTS} ${infodir}
        thisdir=`/bin/pwd`; \
        cd ${srcdir}/etc; \
        for page in emacs etags ctags ; do \
@@ -425,8 +425,12 @@ install-strip:
 ### /usr/local/lib/emacs/19.0/mips-dec-ultrix4.2), we use mkinstalldirs
 ### instead of mkdir.  Not all systems' mkdir programs have the `-p' flag.
 mkdir: FRC
+       if [ -d ${datadir} ]; then true; else \
+         $(srcdir)/mkinstalldirs ${datadir}; \
+         chmod a+r ${datadir};\
+       fi
        $(srcdir)/mkinstalldirs ${COPYDESTS} ${infodir} ${man1dir} \
-         ${bindir} ${datadir} ${docdir} ${libexecdir} \
+         ${bindir} ${docdir} ${libexecdir} \
          ${datadir}/emacs/site-lisp \
          ${datadir}/emacs/${version}/site-lisp \
          `echo ${locallisppath} | sed 's/:/ /g'`