aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.in12
-rw-r--r--src/Makefile.in4
3 files changed, 19 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 733fb8d1acb..88ddf0022a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
12010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * Makefile.in (src): Provide the name of the VCS file that witnesses
4 a pull.
5 ($(srcdir)/src/config.in): Handle accidental removal of src/config.in.
6
12010-05-17 Glenn Morris <rgm@gnu.org> 72010-05-17 Glenn Morris <rgm@gnu.org>
2 8
3 * configure.in (OLDXMENU_DEPS): New output variable. 9 * configure.in (OLDXMENU_DEPS): New output variable.
diff --git a/Makefile.in b/Makefile.in
index 775c591af26..cd677d3295d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -335,9 +335,13 @@ src: Makefile FRC
335 CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \ 335 CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \
336 LDFLAGS='${LDFLAGS}' MAKE='${MAKE}' BOOTSTRAPEMACS="$$boot"; \ 336 LDFLAGS='${LDFLAGS}' MAKE='${MAKE}' BOOTSTRAPEMACS="$$boot"; \
337 fi; 337 fi;
338 if [ -r .bzr/checkout/dirstate ]; then \
339 vcswitness="$$(pwd)/.bzr/checkout/dirstate"; \
340 fi; \
338 cd $@; $(MAKE) all $(MFLAGS) \ 341 cd $@; $(MAKE) all $(MFLAGS) \
339 CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \ 342 CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \
340 LDFLAGS='${LDFLAGS}' MAKE='${MAKE}' BOOTSTRAPEMACS="" 343 LDFLAGS='${LDFLAGS}' MAKE='${MAKE}' BOOTSTRAPEMACS="" \
344 VCSWITNESS="$$vcswitness"
341 345
342blessmail: Makefile src FRC 346blessmail: Makefile src FRC
343 cd lib-src; $(MAKE) maybe-blessmail $(MFLAGS) \ 347 cd lib-src; $(MAKE) maybe-blessmail $(MFLAGS) \
@@ -369,7 +373,11 @@ $(srcdir)/configure: $(AUTOCONF_INPUTS)
369 cd ${srcdir} && autoconf 373 cd ${srcdir} && autoconf
370 374
371$(srcdir)/src/config.in: $(srcdir)/src/stamp-h.in 375$(srcdir)/src/config.in: $(srcdir)/src/stamp-h.in
372 @true 376 @ # Usually, there's no need to rebuild src/config.in just
377 @ # because stamp-h.in has changed (since building stamp-h.in
378 @ # refreshes config.in as well), but if config.in is missing
379 @ # then we really need to do something more.
380 [ -r "$@" ] || ( cd ${srcdir} && autoheader )
373$(srcdir)/src/stamp-h.in: $(AUTOCONF_INPUTS) 381$(srcdir)/src/stamp-h.in: $(AUTOCONF_INPUTS)
374 cd ${srcdir} && autoheader 382 cd ${srcdir} && autoheader
375 rm -f $(srcdir)/src/stamp-h.in 383 rm -f $(srcdir)/src/stamp-h.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
1098/* Since the .el.elc rule cannot specify an extra dependency, we do it here. */ 1098/* Since the .el.elc rule cannot specify an extra dependency, we do it here. */
1099${lisp} ${SOME_MACHINE_LISP}: $(BOOTSTRAPEMACS) 1099${lisp} ${SOME_MACHINE_LISP}: $(BOOTSTRAPEMACS)
1100 1100
1101${lispsource}loaddefs.el: $(BOOTSTRAPEMACS) 1101/* VCSWITNESS points to the file that holds info about the current checkout.
1102 We use it as a heuristic to decide when to rebuild loaddefs.el. */
1103${lispsource}loaddefs.el: $(BOOTSTRAPEMACS) $(VCSWITNESS)
1102 cd ../lisp; $(MAKE) $(MFLAGS) autoloads EMACS=${bootstrap_exe} 1104 cd ../lisp; $(MAKE) $(MFLAGS) autoloads EMACS=${bootstrap_exe}
1103 1105
1104/* Dump an Emacs executable named bootstrap-emacs containing the 1106/* Dump an Emacs executable named bootstrap-emacs containing the