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

index bb7b49ec98e03c63f3ae4b2ff4dd7c7368507f6e..efd1f0fcb5d34d35ab9ca3617ae61b9281a743fb 100644 (file)
@@ -338,10 +338,12 @@ install-arch-indep: mkdir
        -rm -f ${lispdir}/subdirs.el
        $(srcdir)/update-subdirs ${lispdir}
        -rm -f ${datadir}/emacs/${version}/site-lisp/subdirs.el
-       echo "(normal-top-level-add-subdirs-to-load-path)" \
+       (echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; \
+        echo "    (normal-top-level-add-subdirs-to-load-path))") \
          > ${datadir}/emacs/${version}/site-lisp/subdirs.el
        -rm -f ${datadir}/emacs/site-lisp/subdirs.el
-       echo "(normal-top-level-add-subdirs-to-load-path)" \
+       (echo "(if (fboundp 'normal-top-level-add-subdirs-to-load-path)"; \
+        echo "    (normal-top-level-add-subdirs-to-load-path))") \
          > ${datadir}/emacs/site-lisp/subdirs.el
        -chmod -R a+r ${COPYDESTS}
        if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \