mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 17:23:36 +02:00
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
|
|
@ -4,15 +4,15 @@ ifndef LIST_FILES_MK_INCLUDED
|
|||
LIST_FILES_MK_INCLUDED := true
|
||||
|
||||
list-files echo-files:
|
||||
@$(LIST_VCS_FILES) -f
|
||||
$(Q)$(LIST_VCS_FILES) -f
|
||||
|
||||
list-text-files echo-text-files:
|
||||
@$(LIST_VCS_FILES) -ft
|
||||
$(Q)$(LIST_VCS_FILES) -ft
|
||||
|
||||
tar-files:
|
||||
@$(LIST_VCS_FILES) $(TOPDIR) -f | xargs tar -C $(TOPDIR) -cf -
|
||||
$(Q)$(LIST_VCS_FILES) $(TOPDIR) -f | xargs tar -C $(TOPDIR) -cf -
|
||||
|
||||
cpio-files:
|
||||
@$(LIST_VCS_FILES) $(TOPDIR) -f | cpio --directory=$(TOPDIR) -o -H newc
|
||||
$(Q)$(LIST_VCS_FILES) $(TOPDIR) -f | cpio --directory=$(TOPDIR) -o -H newc
|
||||
|
||||
endif # ifndef LIST_FILES_MK_INCLUDED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue