diff options
| author | Paul Eggert | 2015-01-11 18:19:31 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-01-11 18:20:08 -0800 |
| commit | d703a4dce564ede122f5c307889e4bd0e3f3e75c (patch) | |
| tree | 6be10648eb114dd29cadcb9be10096920e8d6e9a /src | |
| parent | c2774f3733a7bdd58616b42da172d1b32932dd03 (diff) | |
| download | emacs-d703a4dce564ede122f5c307889e4bd0e3f3e75c.tar.gz emacs-d703a4dce564ede122f5c307889e4bd0e3f3e75c.zip | |
Have 'make' output better GEN names
* lisp/Makefile.in (PHONY_EXTRAS): New macro.
(.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
relevant files' time stamps are ignored.
(custom-deps, $(lisp)/cus-load.el, finder-data)
($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
(custom-deps, $(lisp)/cus-load.el, finder-data)
($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
($(lisp)/subdirs.el, update-subdirs):
Output more-accurate destination names with GEN.
* src/Makefile.in (gl-stamp, globals.h): Simplify by putting the new
contents of globals.h into gl-stamp. This lets us use AM_V_GEN
more naturally so that 'make' can output more-accurate names.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/Makefile.in | 9 |
2 files changed, 11 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3767622836e..75e9ad51835 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2015-01-12 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Have 'make' output better GEN names | ||
| 4 | * Makefile.in (gl-stamp, globals.h): Simplify by putting the new | ||
| 5 | contents of globals.h into gl-stamp. This lets us use AM_V_GEN | ||
| 6 | more naturally so that 'make' can output more-accurate names. | ||
| 7 | |||
| 1 | 2015-01-11 Stefan Monnier <monnier@iro.umontreal.ca> | 8 | 2015-01-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 9 | ||
| 3 | * buffer.c (init_buffer_once): Initialize buffer_local_flags before | 10 | * buffer.c (init_buffer_once): Initialize buffer_local_flags before |
diff --git a/src/Makefile.in b/src/Makefile.in index a2754eadacd..2ac34f5c44d 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -492,14 +492,13 @@ buildobj.h: Makefile | |||
| 492 | done >$@.tmp | 492 | done >$@.tmp |
| 493 | $(AM_V_at)mv $@.tmp $@ | 493 | $(AM_V_at)mv $@.tmp $@ |
| 494 | 494 | ||
| 495 | globals.h: gl-stamp; @true | ||
| 496 | |||
| 497 | GLOBAL_SOURCES = $(base_obj:.o=.c) $(NS_OBJC_OBJ:.o=.m) | 495 | GLOBAL_SOURCES = $(base_obj:.o=.c) $(NS_OBJC_OBJ:.o=.m) |
| 498 | 496 | ||
| 499 | gl-stamp: $(libsrc)/make-docfile$(EXEEXT) $(GLOBAL_SOURCES) | 497 | gl-stamp: $(libsrc)/make-docfile$(EXEEXT) $(GLOBAL_SOURCES) |
| 500 | $(AM_V_GEN)$(libsrc)/make-docfile -d $(srcdir) -g $(obj) > gl.tmp | 498 | $(AM_V_GEN)$(libsrc)/make-docfile -d $(srcdir) -g $(obj) >$@ |
| 501 | $(AM_V_at)$(top_srcdir)/build-aux/move-if-change gl.tmp globals.h | 499 | |
| 502 | $(AM_V_at)echo timestamp > $@ | 500 | globals.h: gl-stamp |
| 501 | $(AM_V_GEN)cmp $< $@ >/dev/null || cp $< $@ | ||
| 503 | 502 | ||
| 504 | $(ALLOBJS): globals.h | 503 | $(ALLOBJS): globals.h |
| 505 | 504 | ||