changeset 24607:1ceb1e45b10d

(mkdir): If we create ${datadir}, make it world-readable. (install-arch-indep): Make ${datadir}/emacs world-readable.
author Richard M. Stallman <rms@gnu.org>
date Fri, 09 Apr 1999 19:23:31 +0000
parents 6f29d3fe8aa5
children a16dadaa425d
files Makefile.in
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Fri Apr 09 19:22:42 1999 +0000
+++ b/Makefile.in	Fri Apr 09 19:23:31 1999 +0000
@@ -400,7 +400,7 @@
 	     ${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 @@
 ### /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'`