log.mk: Don't write anything to build.log when DIRECT_TARGETS
build.log does not exist when they run, because the build directory is no longer created to run them.
This commit is contained in:
parent
83e0b91309
commit
58f650503f
@ -30,6 +30,10 @@ MAKE += -s
|
|||||||
LOG = 2>>$(BUILDLOG) >/dev/null
|
LOG = 2>>$(BUILDLOG) >/dev/null
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq (,$(filter-out $(DIRECT_TARGETS),$(MAKECMDGOALS)))
|
||||||
|
LOG = >/dev/null 2>&1
|
||||||
|
endif
|
||||||
|
|
||||||
# in build.mk, naive TIME gets expanded a bit too early (no need to export btw)
|
# in build.mk, naive TIME gets expanded a bit too early (no need to export btw)
|
||||||
DATE = $(shell date +%Y%m%d)
|
DATE = $(shell date +%Y%m%d)
|
||||||
TIME = `date +%H:%M:%S`
|
TIME = `date +%H:%M:%S`
|
||||||
|
Loading…
Reference in New Issue
Block a user