diff options
| author | Eli Zaretskii | 2002-03-09 14:09:14 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2002-03-09 14:09:14 +0000 |
| commit | f72a0a4abbc5a2f54b78ee9936aa651af9c15f1b (patch) | |
| tree | a77438ff463fafa0cc9ed67ccadb73ab8ae4f8b7 | |
| parent | 02cca86b7c8525d173bd5b8a1b87d2956b821dd2 (diff) | |
| download | emacs-f72a0a4abbc5a2f54b78ee9936aa651af9c15f1b.tar.gz emacs-f72a0a4abbc5a2f54b78ee9936aa651af9c15f1b.zip | |
(maybe_bootstrap, bootstrap, bootstrap-lisp-1)
(bootstrap-lisp, bootstrap-src, bootstrap-clean-before)
(bootstrap-clean-after): New targets.
| -rw-r--r-- | msdos/mainmake.v2 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/msdos/mainmake.v2 b/msdos/mainmake.v2 index 5904c6e1e29..43c45d6a73c 100644 --- a/msdos/mainmake.v2 +++ b/msdos/mainmake.v2 | |||
| @@ -147,3 +147,31 @@ clean: | |||
| 147 | cd leim | 147 | cd leim |
| 148 | if exist Makefile redir $(MAKE) clean | 148 | if exist Makefile redir $(MAKE) clean |
| 149 | cd .. | 149 | cd .. |
| 150 | |||
| 151 | .PHONY: bootstrap bootstrap-lisp-1 boostrap-src bootstrap-lisp bootstrap-clean | ||
| 152 | .PHONY: maybe_bootstrap | ||
| 153 | |||
| 154 | maybe_bootstrap: | ||
| 155 | @if not exist lisp\abbrevs.elc djecho \ | ||
| 156 | "Some *.elc files are missing. You should do a `make bootstrap'." | ||
| 157 | @if not exist lisp\abbrevs.elc fail-this-make | ||
| 158 | |||
| 159 | bootstrap: bootstrap-clean-before bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean-after all info | ||
| 160 | |||
| 161 | bootstrap-lisp-1: | ||
| 162 | cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean | ||
| 163 | |||
| 164 | bootstrap-lisp: | ||
| 165 | cd lisp; $(MAKE) $(MFLAGS) bootstrap EMACS=../src/b-emacs.exe | ||
| 166 | |||
| 167 | bootstrap-src: | ||
| 168 | cd src; $(MAKE) $(MFLAGS) bootstrap | ||
| 169 | |||
| 170 | ### Used for `bootstrap' to avoid deleting existing dumped Emacs executables. | ||
| 171 | bootstrap-clean-before: FRC | ||
| 172 | cd src; $(MAKE) $(MFLAGS) mostlyclean | ||
| 173 | cd lib-src; $(MAKE) $(MFLAGS) clean | ||
| 174 | cd leim; $(MAKE) $(MFLAGS) clean | ||
| 175 | |||
| 176 | bootstrap-clean-after: | ||
| 177 | cd src; $(MAKE) $(MFLAGS) mostlyclean | ||