comparison Makefile.in @ 47489:36a83e5558ed

(maybe_bootstrap): Test for complete absence of compiled Lisp files.
author Richard M. Stallman <rms@gnu.org>
date Sun, 15 Sep 2002 01:53:40 +0000
parents b375ca944a14
children 702b483d4de7
comparison
equal deleted inserted replaced
47488:6ca0edea0a56 47489:36a83e5558ed
713 713
714 .PHONY: bootstrap 714 .PHONY: bootstrap
715 .PHONY: maybe_bootstrap 715 .PHONY: maybe_bootstrap
716 716
717 maybe_bootstrap: 717 maybe_bootstrap:
718 @if [ ! -f $(srcdir)/lisp/abbrev.elc ]; then \ 718 @bar=`echo ./lisp/*.elc`; \
719 echo "Essential Lisp files seem to be missing. You should either"; \ 719 if [ "$bar" = './lisp/*.elc' ]; then \
720 echo "do \`make bootstrap' or create \`lisp/abbrev.elc' somehow."; \ 720 echo "Your tree does not include the compiled Lisp files."; \
721 echo "You need to do \`make bootstrap' to build Emacs."; \
722 echo "Emacs now requires Texinfo version 4.2."; \
721 exit 1;\ 723 exit 1;\
722 fi 724 fi
723 725
724 bootstrap: bootstrap-clean-before info FRC 726 bootstrap: bootstrap-clean-before info FRC
725 (cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean) 727 (cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean)