contrib/buildsystems: ignore gettext stuff

Git's build contains steps to handle internationalization. This caused
hiccups in the parser used to generate QMake/Visual Studio project files.

As those steps are irrelevant in this context, let's just ignore them.

Signed-off-by: Philip Oakley <philipoakley@iee.org>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Philip Oakley 2019-07-29 13:08:06 -07:00 committed by Junio C Hamano
parent d8c07013b9
commit aae1713f14

View file

@ -141,6 +141,12 @@ sub parseMakeOutput
next; next;
} }
if ($text =~ /^(mkdir|msgfmt) /) {
# options to the Portable Object translations
# the line "mkdir ... && msgfmt ..." contains no linker options
next;
}
if($text =~ / -c /) { if($text =~ / -c /) {
# compilation # compilation
handleCompileLine($text, $line); handleCompileLine($text, $line);