[PATCH 09/24] contrib/buildsystems: ignore gettext stuff
- From
Philip Oakley via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Jul 18, 2019, 13:19 UTC
- Message-ID
- <e908d01f076e5954d4c2af4fb3e297c5762aaf48.1563455939.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.287.git.gitgitgadget@gmail.com>
From: Philip Oakley <philipoakley@iee.org>
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> --- contrib/buildsystems/engine.pl | 6 ++++++ 1 file changed, 6 insertions(+)
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);
-- gitgitgadget