emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bootstrap not regenerating some *loaddefs


From: Juanma Barranquero
Subject: Re: bootstrap not regenerating some *loaddefs
Date: Tue, 17 Jun 2008 18:19:22 +0200

On Tue, Jun 17, 2008 at 17:13, Jason Rumney <address@hidden> wrote:

> Shouldn't make maintainer-clean delete loaddefs.el?

It does. But bootstrapping copies ldefs-boot.el over it:

# Need separate version for sh and native cmd.exe
# Note that bootstrap-clean-$(SHELLTYPE) copies ldefs-boot.el to loaddefs.el,
# and thus the almost-empty loaddefs.el crafted by the $(lisp)/loaddefs.el
# target can NOT be built _after_ bootstrap-clean-$(SHELLTYPE) does its
# thing, or else an empty loaddefs.el will overwrite the full one.
bootstrap-clean: $(lisp)/loaddefs.el
        $(MAKE) $(MFLAGS) bootstrap-clean-$(SHELLTYPE)

bootstrap-clean-CMD:
#       if exist "$(EMACS)" $(MAKE) $(MFLAGS) autoloads
        cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el
        -for %%f in (. $(WINS)) do for %%g in (%%f\*.elc) do @$(DEL) %%g

bootstrap-clean-SH:
#       if test -f "$(EMACS)"; then $(MAKE) $(MFLAGS) autoloads; fi
#       -rm -f $(lisp)/*.elc $(lisp)/*/*.elc
        cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el
        -for dir in . $(WINS); do rm -f $$dir/*.elc; done

   Juanma




reply via email to

[Prev in Thread] Current Thread [Next in Thread]