mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
make: have update-mocks
actually be quiet
Shhhh
This commit is contained in:
parent
7ed3e72b88
commit
47c701cbe6
4
Makefile
4
Makefile
@ -10,8 +10,10 @@ endif
|
||||
# --quiet / -s means quiet, dammit!
|
||||
ifeq ($(findstring s,$(word 1, $(MAKEFLAGS))),s)
|
||||
ECHO := :
|
||||
SUPPRESS_OUTPUT := > /dev/null
|
||||
else
|
||||
ECHO := echo
|
||||
SUPPRESS_OUTPUT :=
|
||||
endif
|
||||
|
||||
DISTRO=$(shell lsb_release -is 2>/dev/null || echo unknown)-$(shell lsb_release -rs 2>/dev/null || echo unknown)
|
||||
@ -471,7 +473,7 @@ clean:
|
||||
|
||||
update-mocks: $(ALL_GEN_HEADERS)
|
||||
update-mocks/%: %
|
||||
@MAKE=$(MAKE) tools/update-mocks.sh "$*"
|
||||
@MAKE=$(MAKE) tools/update-mocks.sh "$*" $(SUPPRESS_OUTPUT)
|
||||
|
||||
unittest/%: %
|
||||
$(VG) $(VG_TEST_ARGS) $* > /dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user