]> git.eshelyaron.com Git - emacs.git/commitdiff
(install-arch-indep): Fix typo in previous change.
authorRichard M. Stallman <rms@gnu.org>
Thu, 7 May 1998 21:31:00 +0000 (21:31 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 7 May 1998 21:31:00 +0000 (21:31 +0000)
Makefile.in

index a32f31857a5588848617bf0ecae1894517c36007..4696522b7b39b8e38e13bb7f7beaf626df88ecdd 100644 (file)
@@ -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; \