config.status: configure
./config.status --recheck
-${srcdir}/configure: configure.in
+${srcdir}/configure: configure.in aclocal.m4
cd ${srcdir} && autoconf
src/Makefile: $(srcdir)/src/Makefile.in config.status
### special emacs executable is built from Lisp sources, which is then
### used to compile Lisp files. The last step is a "normal" make.
-bootstrap: clean
+bootstrap: clean bootstrap-lisp-1 bootstrap-src bootstrap-lisp clean all info
+
+bootstrap-lisp-1:
(cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean)
- (cd src; $(MAKE) $(MFLAGS) bootstrap)
+
+bootstrap-lisp:
-(cd lisp; $(MAKE) $(MFLAGS) bootstrap EMACS=../src/bootstrap-emacs)
- $(MAKE) $(MFLAGS) clean
- $(MAKE) $(MFLAGS)
+bootstrap-src:
+ (cd src; $(MAKE) $(MFLAGS) bootstrap)