From: Richard M. Stallman Date: Thu, 7 May 1998 21:31:00 +0000 (+0000) Subject: (install-arch-indep): Fix typo in previous change. X-Git-Tag: emacs-20.3~1093 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dedd2c6d2c5c0ec8e5ebff433e54807dcfdc7d30;p=emacs.git (install-arch-indep): Fix typo in previous change. --- diff --git a/Makefile.in b/Makefile.in index a32f31857a5..4696522b7b3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -378,10 +378,17 @@ install-arch-indep: mkdir 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; \