X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=Makefile.local;h=c51b9afb8fe6549b67f1c7c116fe1399aec8913a;hb=e027711148858b7aa2b3a4cd2617c87f38746181;hp=af12ca7f2ef88353648fbbf584422cd613bdb830;hpb=178d62cf9c9959fe603c9ffef9fa90f65b67dcd5;p=notmuch diff --git a/Makefile.local b/Makefile.local index af12ca7f..c51b9afb 100644 --- a/Makefile.local +++ b/Makefile.local @@ -182,14 +182,14 @@ verify-newer: # user how to enable verbose compiles. ifeq ($(V),) quiet_DOC := "Use \"$(MAKE) V=1\" to see the verbose compile lines.\n" -quiet = @printf $(quiet_DOC)$(eval quiet_DOC:=)"$1 $@\n"; $($(shell echo $1 | sed -e s'/ .*//')) +quiet = @printf $(quiet_DOC)$(eval quiet_DOC:=)"$1 $@\n"; $($(word 1, $(1))) endif # The user has explicitly enabled quiet compilation. ifeq ($(V),0) -quiet = @printf "$1 $@\n"; $($(shell echo $1 | sed -e s'/ .*//')) +quiet = @printf "$1 $@\n"; $($(word 1, $(1))) endif # Otherwise, print the full command line. -quiet ?= $($(shell echo $1 | sed -e s'/ .*//')) +quiet ?= $($(word 1, $(1))) %.o: %.cc $(global_deps) @mkdir -p $(patsubst %/.,%,.deps/$(@D))