[gnome-builder] autotools: do not default to "all" if NO_BUILD is set
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] autotools: do not default to "all" if NO_BUILD is set
- Date: Wed, 21 Dec 2016 23:27:02 +0000 (UTC)
commit 673f1a91ea2fe56285ac7dea94d5b253bb5f351c
Author: Christian Hergert <chergert redhat com>
Date: Wed Dec 21 15:26:51 2016 -0800
autotools: do not default to "all" if NO_BUILD is set
We were accidentally building everything even when NO_BUILD was set which
is very much not what we want to happen.
plugins/autotools/ide-autotools-build-task.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/autotools/ide-autotools-build-task.c b/plugins/autotools/ide-autotools-build-task.c
index 41d9a03..9d9c620 100644
--- a/plugins/autotools/ide-autotools-build-task.c
+++ b/plugins/autotools/ide-autotools-build-task.c
@@ -1204,7 +1204,7 @@ step_make_all (GTask *task,
return FALSE;
}
- if (!g_strv_length (state->make_targets))
+ if ((state->flags & IDE_BUILDER_BUILD_FLAGS_NO_BUILD) == 0 && g_strv_length (state->make_targets) == 0)
targets = (const gchar * const *)default_targets;
else
targets = (const gchar * const *)state->make_targets;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]