From 5a7ed3338060acdb6a633da0f46950349065f17d Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 25 Oct 2001 07:14:44 +0000 Subject: [PATCH] (maybe_bootstrap): New target. (all): Add to prerequisites to bootstrap if abbrev.elc doesn't exist. --- Makefile.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index f8555996c05..12308394b78 100644 --- a/Makefile.in +++ b/Makefile.in @@ -223,7 +223,7 @@ SUBDIR_MAKEFILES = lib-src/Makefile man/Makefile src/Makefile oldXMenu/Makefile COPYDIR = ${srcdir}/etc ${srcdir}/lisp COPYDESTS = ${etcdir} ${lispdir} -all: ${SUBDIR} leim +all: maybe_bootstrap ${SUBDIR} leim removenullpaths=sed -e 's/^://g' -e 's/:$$//g' -e 's/::/:/g' @@ -663,6 +663,12 @@ dvi: ### used to compile Lisp files. The last step is a "normal" make. .PHONY: bootstrap bootstrap-lisp-1 boostrap-src bootstrap-lisp bootstrap-clean +.PHONY: maybe_bootstrap + +maybe_bootstrap: + if [ ! -f $(srcdir)/lisp/abbrev.elc ]; then \ + $(MAKE) $(MFLAGS) bootstrap; \ + fi bootstrap: clean bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean all info -- 2.39.2