diff options
| author | Stefan Monnier | 2009-02-28 04:44:50 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-02-28 04:44:50 +0000 |
| commit | b4b7bab7ca0cbe68d4a701e26c687af971f0ebb4 (patch) | |
| tree | d047490864b0843d7edaf48e195086bc00d7f0d1 | |
| parent | 33417df2b11627037d6de7dc3a1cb02b67b66171 (diff) | |
| download | emacs-b4b7bab7ca0cbe68d4a701e26c687af971f0ebb4.tar.gz emacs-b4b7bab7ca0cbe68d4a701e26c687af971f0ebb4.zip | |
(lib-src, lisp): Use simpler rule.
(src): Be more specific to avoid recompiling all the .elc files just
because the bootstrap-emacs is missing.
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | Makefile.in | 16 |
2 files changed, 19 insertions, 3 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 2009-02-28 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * Makefile.in (lib-src, lisp): Use simpler rule. | ||
| 4 | (src): Be more specific to avoid recompiling all the .elc files just | ||
| 5 | because the bootstrap-emacs is missing. | ||
| 6 | |||
| 1 | 2009-02-26 Chong Yidong <cyd@stupidchicken.com> | 7 | 2009-02-26 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 8 | ||
| 3 | * configure.in: Require librsvg >= 2.11. | 9 | * configure.in: Require librsvg >= 2.11. |
diff --git a/Makefile.in b/Makefile.in index 4439e85bb11..14036608d67 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -320,6 +320,12 @@ src: lib-src FRC | |||
| 320 | # We need to build `emacs' in `src' to compile the *.elc files in `lisp'. | 320 | # We need to build `emacs' in `src' to compile the *.elc files in `lisp'. |
| 321 | lisp: src | 321 | lisp: src |
| 322 | 322 | ||
| 323 | # These targets should be "${SUBDIR} without `src'". | ||
| 324 | lib-src lisp: Makefile FRC | ||
| 325 | cd $@; $(MAKE) all $(MFLAGS) \ | ||
| 326 | CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \ | ||
| 327 | LDFLAGS='${LDFLAGS}' MAKE='${MAKE}' | ||
| 328 | |||
| 323 | # Pass to src/Makefile.in an additional BOOTSTRAPEMACS variable which | 329 | # Pass to src/Makefile.in an additional BOOTSTRAPEMACS variable which |
| 324 | # is either set to bootstrap-emacs (in case bootstrap-emacs has not been | 330 | # is either set to bootstrap-emacs (in case bootstrap-emacs has not been |
| 325 | # constructed yet) or the empty string (otherwise). | 331 | # constructed yet) or the empty string (otherwise). |
| @@ -329,12 +335,16 @@ lisp: src | |||
| 329 | # file src/foo.c forces dumping a new bootstrap-emacs, then re-byte-compiling | 335 | # file src/foo.c forces dumping a new bootstrap-emacs, then re-byte-compiling |
| 330 | # all preloaded elisp files, and only then dump the actual src/emacs, which | 336 | # all preloaded elisp files, and only then dump the actual src/emacs, which |
| 331 | # is not wrong, but is overkill in 99.99% of the cases. | 337 | # is not wrong, but is overkill in 99.99% of the cases. |
| 332 | ${SUBDIR}: Makefile FRC | 338 | src: Makefile FRC |
| 333 | boot=bootstrap-emacs$(EXEEXT); \ | 339 | boot=bootstrap-emacs$(EXEEXT); \ |
| 334 | if [ -x "src/$$boot" ]; then boot=""; fi; \ | 340 | if [ ! -x "src/$$boot" ]; then \ |
| 341 | cd $@; $(MAKE) all $(MFLAGS) \ | ||
| 342 | CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \ | ||
| 343 | LDFLAGS='${LDFLAGS}' MAKE='${MAKE}' BOOTSTRAPEMACS="$$boot"; \ | ||
| 344 | fi; \ | ||
| 335 | cd $@; $(MAKE) all $(MFLAGS) \ | 345 | cd $@; $(MAKE) all $(MFLAGS) \ |
| 336 | CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \ | 346 | CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \ |
| 337 | LDFLAGS='${LDFLAGS}' MAKE='${MAKE}' BOOTSTRAPEMACS="$$boot" | 347 | LDFLAGS='${LDFLAGS}' MAKE='${MAKE}' BOOTSTRAPEMACS="" |
| 338 | 348 | ||
| 339 | blessmail: Makefile src FRC | 349 | blessmail: Makefile src FRC |
| 340 | cd lib-src; $(MAKE) maybe-blessmail $(MFLAGS) \ | 350 | cd lib-src; $(MAKE) maybe-blessmail $(MFLAGS) \ |