defs.mk: Define Q and use it in *.mk
Define Q ?= @, and replace @<command> in recipes by $(Q)<command>. Meant to be overridden from the environment for debugging as in
Q= make
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
6ba9b2079d
commit
f869b5aaca
15 changed files with 47 additions and 45 deletions
|
|
@ -30,7 +30,7 @@ done.clean:
|
|||
$(RM) -f *.done
|
||||
|
||||
$(TARGET_DIR)/%: $(SOURCE_BASE)/%
|
||||
@if [ -L "$<" -o -f "$<" ]; then \
|
||||
$(Q)if [ -L "$<" -o -f "$<" ]; then \
|
||||
echo $(INSTALL) -p -D -m $(TARGET_MODE) -o $(TARGET_OWNER) -g $(TARGET_GROUP) "$<" "$@" ;\
|
||||
$(INSTALL) -p -D -m $(TARGET_MODE) -o $(TARGET_OWNER) -g $(TARGET_GROUP) "$<" "$@" ;\
|
||||
else \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue