changeset 21984:7daf32aabd53

(install-arch-indep): Fix typo in previous change.
author Richard M. Stallman <rms@gnu.org>
date Thu, 07 May 1998 21:31:00 +0000
parents 487cd71c058d
children cb989530f77b
files Makefile.in
diffstat 1 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Thu May 07 20:50:48 1998 +0000
+++ b/Makefile.in	Thu May 07 21:31:00 1998 +0000
@@ -378,10 +378,17 @@
 	   for f in ccmode* cl* customize* dired-x* ediff* emacs* forms* gnus* info* message* mh-e* reftex* sc* vip* widget*; do \
 	     (cd $${thisdir}; \
 	      ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f; \
-	      chmod a+r ${infodir}/$$f; \
-	      ${INSTALL_INFO} --info-file=$$f); \
+	      chmod a+r ${infodir}/$$f); \
 	   done); \
 	else true; fi
+	-thisdir=`/bin/pwd`; \
+	if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \
+	then \
+	  for f in ccmode cl customize dired-x ediff emacs forms gnus info message mh-e reftex sc vip widget; do \
+	    (cd $${thisdir}; \
+	     ${INSTALL_INFO} --dir-file=${infodir}/dir --info-file=${infodir}/$$f); \
+	  done; \
+	else true; fi
 	-chmod -R a+r ${COPYDESTS} ${infodir}
 	thisdir=`/bin/pwd`; \
 	cd ${srcdir}/etc; \