The (v)exec function removes the full directory component from the command
to execute. This can be a little confusing when running local scripts. This
patch applies the abbr function to the command instead.
# and third arguments are optional and are the target name and command name to
# pretty print.
vexec = $(if $V,\
# and third arguments are optional and are the target name and command name to
# pretty print.
vexec = $(if $V,\
- echo ' $(notdir $(if $3,$(strip $3),$(firstword $1))) \
+ echo ' $(call abbr,$(if $3,$(strip $3),$(firstword $1))) \
$(call abbr,$(if $2,$(strip $2),$@))' ; )$1
# Same as vexec but it silence the echo command (prepending a @ if $V).
$(call abbr,$(if $2,$(strip $2),$@))' ; )$1
# Same as vexec but it silence the echo command (prepending a @ if $V).