mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
Less 'make' chatter for VCSWITNESS
* Makefile.in (dirstate, VCSWITNESS): New macros. (src): Use them to lessen 'make' chatter.
This commit is contained in:
parent
cd2d58c1c8
commit
ed51b8df3c
@ -1,3 +1,9 @@
|
||||
2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Less 'make' chatter for VCSWITNESS
|
||||
* Makefile.in (dirstate, VCSWITNESS): New macros.
|
||||
(src): Use them to lessen 'make' chatter.
|
||||
|
||||
2015-01-01 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Fix copyright years by hand
|
||||
|
10
Makefile.in
10
Makefile.in
@ -389,15 +389,13 @@ lib lib-src lisp nt: Makefile
|
||||
# repository pull. In git there is no single file that guarantees
|
||||
# this, but the local log for the current head should be close enough.
|
||||
#
|
||||
# Note the use of single quotes in the value of vcswitness.
|
||||
# This passes an unexpanded $srcdir to src's Makefile, which then
|
||||
# Pass an unexpanded $srcdir to src's Makefile, which then
|
||||
# expands it using its own value of srcdir (which points to the
|
||||
# source directory of src/).
|
||||
dirstate = .git/logs/HEAD
|
||||
VCSWITNESS = $(if $(wildcard $(srcdir)/$(dirstate)),$$(srcdir)/../$(dirstate))
|
||||
src: Makefile
|
||||
dirstate='.git/logs/HEAD'; \
|
||||
vcswitness='$$(srcdir)/../'$$dirstate; \
|
||||
[ -r "$(srcdir)/$$dirstate" ] || vcswitness=''; \
|
||||
$(MAKE) -C $@ all VCSWITNESS="$$vcswitness"
|
||||
$(MAKE) -C $@ VCSWITNESS='$(VCSWITNESS)' all
|
||||
|
||||
blessmail: Makefile src
|
||||
$(MAKE) -C lib-src maybe-blessmail
|
||||
|
Loading…
Reference in New Issue
Block a user