Commit 58f65050 authored by Anton Midyukov's avatar Anton Midyukov

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.
parent 83e0b913
......@@ -30,6 +30,10 @@ MAKE += -s
LOG = 2>>$(BUILDLOG) >/dev/null
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)
DATE = $(shell date +%Y%m%d)
TIME = `date +%H:%M:%S`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment