[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100334: * Makefile.in (${lispsource}
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100334: * Makefile.in (${lispsource}loaddefs.el): Update loaddefs.el after a pull. |
Date: |
Mon, 17 May 2010 17:02:06 -0400 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100334
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Mon 2010-05-17 17:02:06 -0400
message:
* 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.
modified:
ChangeLog
Makefile.in
src/Makefile.in
=== modified file 'ChangeLog'
--- a/ChangeLog 2010-05-17 05:15:03 +0000
+++ b/ChangeLog 2010-05-17 21:02:06 +0000
@@ -1,3 +1,9 @@
+2010-05-17 Stefan Monnier <address@hidden>
+
+ * 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.
+
2010-05-17 Glenn Morris <address@hidden>
* configure.in (OLDXMENU_DEPS): New output variable.
=== modified file 'Makefile.in'
--- a/Makefile.in 2010-05-16 23:31:05 +0000
+++ b/Makefile.in 2010-05-17 21:02:06 +0000
@@ -335,9 +335,13 @@
CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \
LDFLAGS='${LDFLAGS}' MAKE='${MAKE}' BOOTSTRAPEMACS="$$boot"; \
fi;
+ if [ -r .bzr/checkout/dirstate ]; then \
+ vcswitness="$$(pwd)/.bzr/checkout/dirstate"; \
+ fi; \
cd $@; $(MAKE) all $(MFLAGS) \
CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \
- LDFLAGS='${LDFLAGS}' MAKE='${MAKE}' BOOTSTRAPEMACS=""
+ LDFLAGS='${LDFLAGS}' MAKE='${MAKE}' BOOTSTRAPEMACS="" \
+ VCSWITNESS="$$vcswitness"
blessmail: Makefile src FRC
cd lib-src; $(MAKE) maybe-blessmail $(MFLAGS) \
@@ -369,7 +373,11 @@
cd ${srcdir} && autoconf
$(srcdir)/src/config.in: $(srcdir)/src/stamp-h.in
- @true
+ @ # Usually, there's no need to rebuild src/config.in just
+ @ # because stamp-h.in has changed (since building stamp-h.in
+ @ # refreshes config.in as well), but if config.in is missing
+ @ # then we really need to do something more.
+ [ -r "$@" ] || ( cd ${srcdir} && autoheader )
$(srcdir)/src/stamp-h.in: $(AUTOCONF_INPUTS)
cd ${srcdir} && autoheader
rm -f $(srcdir)/src/stamp-h.in
=== modified file 'src/Makefile.in'
--- a/src/Makefile.in 2010-05-17 05:15:03 +0000
+++ b/src/Makefile.in 2010-05-17 21:02:06 +0000
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100334: * Makefile.in (${lispsource}loaddefs.el): Update loaddefs.el after a pull.,
Stefan Monnier <=