summaryrefslogtreecommitdiff
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2010-05-17 17:02:06 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2010-05-17 17:02:06 -0400
commit5b5262f4da935f37376c548e31e234bf2073ebef (patch)
treeff8e99c9c247199d459abdbf3f4314db6927b78c /src/Makefile.in
parent5ad4bef5758fd694d209a8fb63f42bcfdb22785c (diff)
downloademacs-5b5262f4da935f37376c548e31e234bf2073ebef.tar.gz
* 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.
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in4
1 files changed, 3 insertions, 1 deletions
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