Commit c3c57777 authored by Jason Rumney's avatar Jason Rumney
Browse files

(maybe-bootstrap, doit, maybe-bootstrap-CMD)

(maybe-bootstrap-SH): New targets.
(all): Depend on maybe-bootstrap.
parent 676a3025
......@@ -69,7 +69,7 @@ which-sh:
# Build emacs
all: which-sh $(BLD) $(ALL) all-other-dirs-$(MAKETYPE)
all: which-sh $(BLD) $(ALL) maybe-bootstrap all-other-dirs-$(MAKETYPE)
cd ..\lib-src
......@@ -105,6 +105,27 @@ recompile-gmake:
### special emacs executable is built from Lisp sources, which is then
### used to compile Lisp files. The last step is a "normal" make.
maybe-bootstrap: maybe-bootstrap-$(SHELLTYPE)
# dummy target to force other targets to be evaluated.
maybe-bootstrap-CMD: doit
@if not EXIST ..\lisp\abbrev.elc echo Essential Lisp files seem to be missing. You should either
@if not EXIST ..\lisp\abbrev.elc echo do 'make bootstrap' or create 'lisp/abbrev.elc' somehow
@if not EXIST ..\lisp\abbrev.elc exit -1
maybe-bootstrap-SH: doit
@if [ ! -f ../lisp/abbrev.elc ] ; then \
echo; \
echo "Essential Lisp files seem to be missing. You should either"; \
echo "do \`make bootstrap' or create \`lisp/abbrev.elc' somehow."; \
echo; \
exit -1; \
bootstrap: addsection bootstrap-$(MAKETYPE) all
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment