Browse Source

make: have `update-mocks` actually be quiet

Shhhh
nifty/pset-pre
niftynei 5 years ago
committed by Rusty Russell
parent
commit
47c701cbe6
  1. 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…
Cancel
Save