• Stefan Monnier's avatar
    Make "make" do a bootstrap if needed. · fc46d219
    Stefan Monnier authored
    * src/Makefile.in (emacs${EXEEXT}): Link the new emacs to bootstrap-emacs.
    (bootstrapclean): Remove.
    (.el.elc): New rule.
    (PRECOMP): New var.
    (../lisp/subdirs.el): Remove.
    (bootstrap-emacs${EXEEXT}): Remove subdirs.el and charpro.el dependency.
    (witness-emacs): New target.
    (mostlyclean): Remove witness-emacs as well.
    (../lisp/loaddefs.el, ${lisp} ${SOME_MACHINE_LISP}):
    Add witness-emacs dependency.
    * lisp/loadup.el: Don't add emacs-<VERS> name when bootstrapping.
    * lisp/Makefile.in (emacs-deps): Remove.
    ($(lisp)/cus-load.el, $(lisp)/finder-inf.el): Re-add.
    (all): Use them.
    (autogen-clean): Remove.
    * Makefile.in (maybe_bootstrap, src/bootstrap-emacs${EXEEXT})
    (bootstrap-build): Remove.
    (top_bootclean): New var.
    (top_distclean, bootstrap-clean): Use it.
    (bootstrap): Don't recheck config.  Make normally.
    fc46d219
loadup.el 12.6 KB