aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2015-01-03 18:40:51 -0800
committerPaul Eggert2015-01-03 18:54:33 -0800
commited51b8df3c25da47431d4d4cc2af0ff9db2f0421 (patch)
treea43f5482a46df918794ee12a2dbc9c9df8163cd6
parentcd2d58c1c81d608d6e1aefe1eb8a3d1f1cd60540 (diff)
downloademacs-ed51b8df3c25da47431d4d4cc2af0ff9db2f0421.tar.gz
emacs-ed51b8df3c25da47431d4d4cc2af0ff9db2f0421.zip
Less 'make' chatter for VCSWITNESS
* Makefile.in (dirstate, VCSWITNESS): New macros. (src): Use them to lessen 'make' chatter.
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.in10
2 files changed, 10 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 0efa32aec55..9207bd5f104 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
12015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 Less 'make' chatter for VCSWITNESS
4 * Makefile.in (dirstate, VCSWITNESS): New macros.
5 (src): Use them to lessen 'make' chatter.
6
12015-01-01 Paul Eggert <eggert@cs.ucla.edu> 72015-01-01 Paul Eggert <eggert@cs.ucla.edu>
2 8
3 Fix copyright years by hand 9 Fix copyright years by hand
diff --git a/Makefile.in b/Makefile.in
index b8d914b3bd7..7b271f12424 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -389,15 +389,13 @@ lib lib-src lisp nt: Makefile
389# repository pull. In git there is no single file that guarantees 389# repository pull. In git there is no single file that guarantees
390# this, but the local log for the current head should be close enough. 390# this, but the local log for the current head should be close enough.
391# 391#
392# Note the use of single quotes in the value of vcswitness. 392# Pass an unexpanded $srcdir to src's Makefile, which then
393# This passes an unexpanded $srcdir to src's Makefile, which then
394# expands it using its own value of srcdir (which points to the 393# expands it using its own value of srcdir (which points to the
395# source directory of src/). 394# source directory of src/).
395dirstate = .git/logs/HEAD
396VCSWITNESS = $(if $(wildcard $(srcdir)/$(dirstate)),$$(srcdir)/../$(dirstate))
396src: Makefile 397src: Makefile
397 dirstate='.git/logs/HEAD'; \ 398 $(MAKE) -C $@ VCSWITNESS='$(VCSWITNESS)' all
398 vcswitness='$$(srcdir)/../'$$dirstate; \
399 [ -r "$(srcdir)/$$dirstate" ] || vcswitness=''; \
400 $(MAKE) -C $@ all VCSWITNESS="$$vcswitness"
401 399
402blessmail: Makefile src 400blessmail: Makefile src
403 $(MAKE) -C lib-src maybe-blessmail 401 $(MAKE) -C lib-src maybe-blessmail