|
|
@ -123,6 +123,11 @@ MAX_PID_SIZE = \
|
|
|
|
# $(1) is a string describing the command
|
|
|
|
# $(1) is a string describing the command
|
|
|
|
# $(2) is the command to run
|
|
|
|
# $(2) is the command to run
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
ifeq ($(VERBOSE),1)
|
|
|
|
|
|
|
|
define silent_on_success
|
|
|
|
|
|
|
|
$(2)
|
|
|
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
else
|
|
|
|
# Run and time the command and redirect its stdout and stderr to files. Display info about the
|
|
|
|
# Run and time the command and redirect its stdout and stderr to files. Display info about the
|
|
|
|
# command only in case of error. Try to be as helpful as possible in the error case.
|
|
|
|
# command only in case of error. Try to be as helpful as possible in the error case.
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -172,3 +177,4 @@ define silent_on_success
|
|
|
|
printf '$(TERM_RESET)\n'; \
|
|
|
|
printf '$(TERM_RESET)\n'; \
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
endef
|
|
|
|
endef
|
|
|
|
|
|
|
|
endif
|
|
|
|