diff options
| author | Paul Eggert | 2015-01-03 18:40:51 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-01-03 18:54:33 -0800 |
| commit | ed51b8df3c25da47431d4d4cc2af0ff9db2f0421 (patch) | |
| tree | a43f5482a46df918794ee12a2dbc9c9df8163cd6 | |
| parent | cd2d58c1c81d608d6e1aefe1eb8a3d1f1cd60540 (diff) | |
| download | emacs-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-- | ChangeLog | 6 | ||||
| -rw-r--r-- | Makefile.in | 10 |
2 files changed, 10 insertions, 6 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 2015-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 | |||
| 1 | 2015-01-01 Paul Eggert <eggert@cs.ucla.edu> | 7 | 2015-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/). |
| 395 | dirstate = .git/logs/HEAD | ||
| 396 | VCSWITNESS = $(if $(wildcard $(srcdir)/$(dirstate)),$$(srcdir)/../$(dirstate)) | ||
| 396 | src: Makefile | 397 | src: 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 | ||
| 402 | blessmail: Makefile src | 400 | blessmail: Makefile src |
| 403 | $(MAKE) -C lib-src maybe-blessmail | 401 | $(MAKE) -C lib-src maybe-blessmail |