Commit ccc64864 authored by Michael Shigorin's avatar Michael Shigorin

main.mk, build.mk: tweaks for error reporting

I've finally moved away from LC_MESSAGES=C on my main development system half a year ago and finally spotted that a grep for "Stop\.$" stopped to yield anything now.
parent d6c663bf
......@@ -2,7 +2,7 @@
ANSI_OK ?= 1;32
ANSI_FAIL ?= 1;31
MAX_ERRORS = 3
MAX_ERRORS = 5
GOTCHA := ^(((\*\* )?(E:|[Ee]rror|[Ww]arning).*)|(.* (FAILURE|FATAL|ERROR|conflicts|Depends:) .*)|(.* (Stop|failed|not found)\.))$$
ifndef MKIMAGE_PROFILES
......
......@@ -56,6 +56,9 @@ IMAGES := $(DISTROS) $(VES) $(VMS)
.PHONY: $(IMAGES) $(DISTRO_TARGETS) $(VE_TARGETS) $(VM_TARGETS)
.PHONY: debug everything help space
# grepping for localized error messages is not trivial
export LC_MESSAGES=C
### duplicate but still needed
everything:
@n=1; sum=$(words $(DISTROS)); \
......
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