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:
parent
d6c663bf02
commit
ccc6486417
@ -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
|
||||
|
3
main.mk
3
main.mk
@ -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)); \
|
||||
|
Loading…
Reference in New Issue
Block a user