diff src/Makefile.in @ 108633:745476df64ef

* 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.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 17 May 2010 17:02:06 -0400
parents a53949523193
children fcdc7bb97c9e
line wrap: on
line diff
--- a/src/Makefile.in	Mon May 17 15:27:26 2010 -0400
+++ b/src/Makefile.in	Mon May 17 17:02:06 2010 -0400
@@ -1098,7 +1098,9 @@
 /* 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