From dedd2c6d2c5c0ec8e5ebff433e54807dcfdc7d30 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 7 May 1998 21:31:00 +0000 Subject: [PATCH] (install-arch-indep): Fix typo in previous change. --- Makefile.in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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; \ -- 2.39.2