pmt: utils: run commands silently

This commit is contained in:
2024-08-02 18:05:47 +03:00
committed by GitHub
parent b1f9e491b3
commit 157e99a08e

View File

@@ -16,8 +16,8 @@
# generate any text based empty file. Usage: $(call touch,<PATH>) # generate any text based empty file. Usage: $(call touch,<PATH>)
define touch define touch
$(hide)[ ! "$(FORCE_GEN)" = "true" ] || rm -f "$1" @ [ ! "$(FORCE_GEN)" = "true" ] || rm -f "$1"
$(hide)touch "$1" || exit 1 @ touch "$1" || exit 1
endef endef
# copy files. Usage: $(call copy,<SOURCE>,<COPY_PATH>) # copy files. Usage: $(call copy,<SOURCE>,<COPY_PATH>)