--- contrib/emacs/Makefile.in.orig 2000-02-24 18:01:08 UTC +++ contrib/emacs/Makefile.in @@ -159,8 +159,9 @@ Makefile: $(srcdir)/Makefile.in $(top_b install-dist_lispLISP: $(dist_lisp_LISP) $(ELCFILES) @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(lispdir) - @list='$(dist_lisp_LISP)'; for p in $$list; do \ + if test $(EMACS) != no; then \ + $(mkinstalldirs) $(DESTDIR)$(lispdir); \ + list='$(dist_lisp_LISP)'; for p in $$list; do \ if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ f="`echo $$p | sed -e 's|^.*/||'`"; \ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(lispdir)/$$f"; \ @@ -169,7 +170,8 @@ install-dist_lispLISP: $(dist_lisp_LISP) echo " $(INSTALL_DATA) $${p}c $(DESTDIR)$(lispdir)/$${f}c"; \ $(INSTALL_DATA) $${p}c $(DESTDIR)$(lispdir)/$${f}c; \ else : ; fi; \ - done + done; \ + fi uninstall-dist_lispLISP: @$(NORMAL_UNINSTALL)