From 5b5262f4da935f37376c548e31e234bf2073ebef Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 17 May 2010 17:02:06 -0400 Subject: * Makefile.in (${lispsource}loaddefs.el): Update loaddefs.el after a pull. * Makefile.in (src): Provide the name of the VCS file that witnesses a pull. ($(srcdir)/src/config.in): Handle accidental removal of src/config.in. --- src/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Makefile.in') diff --git a/src/Makefile.in b/src/Makefile.in index c99c7ae65d2..571fbf5b1b1 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1098,7 +1098,9 @@ tags: TAGS TAGS-LISP $(lwlibdir)TAGS /* Since the .el.elc rule cannot specify an extra dependency, we do it here. */ ${lisp} ${SOME_MACHINE_LISP}: $(BOOTSTRAPEMACS) -${lispsource}loaddefs.el: $(BOOTSTRAPEMACS) +/* VCSWITNESS points to the file that holds info about the current checkout. + We use it as a heuristic to decide when to rebuild loaddefs.el. */ +${lispsource}loaddefs.el: $(BOOTSTRAPEMACS) $(VCSWITNESS) cd ../lisp; $(MAKE) $(MFLAGS) autoloads EMACS=${bootstrap_exe} /* Dump an Emacs executable named bootstrap-emacs containing the -- cgit v1.2.1