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.
This commit is contained in:
Michael Shigorin 2013-06-15 15:40:15 +04:00
parent d6c663bf02
commit ccc6486417
2 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,7 @@
ANSI_OK ?= 1;32 ANSI_OK ?= 1;32
ANSI_FAIL ?= 1;31 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)\.))$$ GOTCHA := ^(((\*\* )?(E:|[Ee]rror|[Ww]arning).*)|(.* (FAILURE|FATAL|ERROR|conflicts|Depends:) .*)|(.* (Stop|failed|not found)\.))$$
ifndef MKIMAGE_PROFILES ifndef MKIMAGE_PROFILES

View File

@ -56,6 +56,9 @@ IMAGES := $(DISTROS) $(VES) $(VMS)
.PHONY: $(IMAGES) $(DISTRO_TARGETS) $(VE_TARGETS) $(VM_TARGETS) .PHONY: $(IMAGES) $(DISTRO_TARGETS) $(VE_TARGETS) $(VM_TARGETS)
.PHONY: debug everything help space .PHONY: debug everything help space
# grepping for localized error messages is not trivial
export LC_MESSAGES=C
### duplicate but still needed ### duplicate but still needed
everything: everything:
@n=1; sum=$(words $(DISTROS)); \ @n=1; sum=$(words $(DISTROS)); \