changeset 21399:015e06f86e25

(install-arch-indep): Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Tue, 07 Apr 1998 03:20:31 +0000
parents 625ff8638146
children d2b302f002af
files Makefile.in
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Mon Apr 06 22:22:05 1998 +0000
+++ b/Makefile.in	Tue Apr 07 03:20:31 1998 +0000
@@ -338,10 +338,12 @@
 	-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)` ]; \