summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-10-25 07:13:22 +0000
committerGerd Moellmann <gerd@gnu.org>2001-10-25 07:13:22 +0000
commit5a2e524f260fac4c59ba693d500b34602f04cdcb (patch)
treeacd16b0cdbc4352dae2ffcb16c5f86db7fd74736 /Makefile.in
parentd73a471bf4e6ecbce1f44f03973aaf8d8c18cf93 (diff)
downloademacs-5a2e524f260fac4c59ba693d500b34602f04cdcb.tar.gz
(maybe_bootstrap): New target.
(all): Add to prerequisites to bootstrap if abbrev.elc doesn't exist.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
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
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