diff options
author | Jason Rumney <jasonr@gnu.org> | 2002-06-13 18:40:14 +0000 |
---|---|---|
committer | Jason Rumney <jasonr@gnu.org> | 2002-06-13 18:40:14 +0000 |
commit | c3c5777766ed57e7ef140cf5af8f15a61c4e3e64 (patch) | |
tree | 22215533aa04e1301867a5546663404da5d1a1bd /nt | |
parent | 676a30259f5272007ecf622dc241b018aab8b84f (diff) | |
download | emacs-c3c5777766ed57e7ef140cf5af8f15a61c4e3e64.tar.gz |
(maybe-bootstrap, doit, maybe-bootstrap-CMD)
(maybe-bootstrap-SH): New targets.
(all): Depend on maybe-bootstrap.
Diffstat (limited to 'nt')
-rw-r--r-- | nt/makefile.w32-in | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/nt/makefile.w32-in b/nt/makefile.w32-in index a74cfcc7efd..10f6d6bebd2 100644 --- a/nt/makefile.w32-in +++ b/nt/makefile.w32-in @@ -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)
all-other-dirs-nmake:
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.
+doit:
+
+maybe-bootstrap-CMD: doit
+ @echo.
+ @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
+ @echo.
+ @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; \
+ fi
+
bootstrap: addsection bootstrap-$(MAKETYPE) all
bootstrap-nmake:
|