diff options
| author | Gerd Moellmann | 2001-10-25 07:13:22 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-10-25 07:13:22 +0000 |
| commit | 5a2e524f260fac4c59ba693d500b34602f04cdcb (patch) | |
| tree | acd16b0cdbc4352dae2ffcb16c5f86db7fd74736 | |
| parent | d73a471bf4e6ecbce1f44f03973aaf8d8c18cf93 (diff) | |
| download | emacs-5a2e524f260fac4c59ba693d500b34602f04cdcb.tar.gz emacs-5a2e524f260fac4c59ba693d500b34602f04cdcb.zip | |
(maybe_bootstrap): New target.
(all): Add to prerequisites to bootstrap if abbrev.elc doesn't
exist.
| -rw-r--r-- | Makefile.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 389e08e37ca..6a8dae9fecc 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -223,7 +223,7 @@ SUBDIR_MAKEFILES = lib-src/Makefile man/Makefile src/Makefile oldXMenu/Makefile | |||
| 223 | COPYDIR = ${srcdir}/etc ${srcdir}/lisp | 223 | COPYDIR = ${srcdir}/etc ${srcdir}/lisp |
| 224 | COPYDESTS = ${etcdir} ${lispdir} | 224 | COPYDESTS = ${etcdir} ${lispdir} |
| 225 | 225 | ||
| 226 | all: ${SUBDIR} leim | 226 | all: maybe_bootstrap ${SUBDIR} leim |
| 227 | 227 | ||
| 228 | removenullpaths=sed -e 's/^://g' -e 's/:$$//g' -e 's/::/:/g' | 228 | removenullpaths=sed -e 's/^://g' -e 's/:$$//g' -e 's/::/:/g' |
| 229 | 229 | ||
| @@ -663,6 +663,12 @@ dvi: | |||
| 663 | ### used to compile Lisp files. The last step is a "normal" make. | 663 | ### used to compile Lisp files. The last step is a "normal" make. |
| 664 | 664 | ||
| 665 | .PHONY: bootstrap bootstrap-lisp-1 boostrap-src bootstrap-lisp bootstrap-clean | 665 | .PHONY: bootstrap bootstrap-lisp-1 boostrap-src bootstrap-lisp bootstrap-clean |
| 666 | .PHONY: maybe_bootstrap | ||
| 667 | |||
| 668 | maybe_bootstrap: | ||
| 669 | if [ ! -f $(srcdir)/lisp/abbrev.elc ]; then \ | ||
| 670 | $(MAKE) $(MFLAGS) bootstrap; \ | ||
| 671 | fi | ||
| 666 | 672 | ||
| 667 | bootstrap: clean bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean all info | 673 | bootstrap: clean bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean all info |
| 668 | 674 | ||