From: Philip Oakley Date: Mon, 29 Jul 2019 20:08:06 +0000 (-0700) Subject: contrib/buildsystems: ignore gettext stuff X-Git-Tag: v2.23.0-rc1~2^2~14 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/aae1713f14a48092f7fa9c10fdd3d1e4ba4e8367 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 Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- diff --git a/contrib/buildsystems/engine.pl b/contrib/buildsystems/engine.pl index ad6a82c30c..9db3d43a1e 100755 --- a/contrib/buildsystems/engine.pl +++ b/contrib/buildsystems/engine.pl @@ -141,6 +141,12 @@ sub parseMakeOutput next; } + if ($text =~ /^(mkdir|msgfmt) /) { + # options to the Portable Object translations + # the line "mkdir ... && msgfmt ..." contains no linker options + next; + } + if($text =~ / -c /) { # compilation handleCompileLine($text, $line);