[gnome-builder] autotools: fix ctags building
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] autotools: fix ctags building
- Date: Tue, 3 May 2016 10:01:56 +0000 (UTC)
commit 11ac9805237048af01d6abb1291dfbaf96e838e3
Author: Christian Hergert <chergert redhat com>
Date: Tue May 3 12:59:26 2016 +0300
autotools: fix ctags building
When moving to subprocess launcher, we managed to miss the target name
we want to execute. In the common case, this was "ctags". So we were
executing "gmake" instead of "gmake ctags". Quite annoying, glad to have
tracked this one down!
https://bugzilla.gnome.org/show_bug.cgi?id=764214
plugins/autotools/ide-autotools-build-system.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/autotools/ide-autotools-build-system.c b/plugins/autotools/ide-autotools-build-system.c
index 3b43fa5..48ae1c0 100644
--- a/plugins/autotools/ide-autotools-build-system.c
+++ b/plugins/autotools/ide-autotools-build-system.c
@@ -872,6 +872,8 @@ simple_make_command (GFile *directory,
else
ide_subprocess_launcher_push_argv (launcher, "make");
+ ide_subprocess_launcher_push_argv (launcher, target);
+
if (NULL == (subprocess = ide_subprocess_launcher_spawn_sync (launcher, cancellable, &error)))
{
g_task_return_error (task, error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]