done
-rm -f ${lispdir}/subdirs.el
$(srcdir)/update-subdirs ${lispdir}
- -rm -f ${datadir}/emacs/${version}/site-lisp/subdirs.el
- -(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
+ if [ -f ${datadir}/emacs/${version}/site-lisp/subdirs.el ]; \
+ then true; \
+ else \
+ (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 \
+ fi
chmod a+r ${datadir}/emacs/${version}/site-lisp/subdirs.el
- -rm -f ${datadir}/emacs/site-lisp/subdirs.el
- -(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
+ if [ -f ${datadir}/emacs/site-lisp/subdirs.el ]; \
+ then true; \
+ else \
+ (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 \
+ fi
chmod a+r ${datadir}/emacs/site-lisp/subdirs.el
if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \
then \