[jhbuild] Fix order of the phases so clean is added before check. Fixes build with -ac --check
- From: Kjartan Maraas <kmaraas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] Fix order of the phases so clean is added before check. Fixes build with -ac --check
- Date: Thu, 23 Feb 2012 17:28:04 +0000 (UTC)
commit 48ed4e4bb9d9914429888f8431bb2dcdc0dbfe8f
Author: Kjartan Maraas <kmaraas gnome org>
Date: Thu Feb 23 18:27:56 2012 +0100
Fix order of the phases so clean is added before check. Fixes build with -ac --check
jhbuild/config.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/jhbuild/config.py b/jhbuild/config.py
index e32d862..0990d33 100644
--- a/jhbuild/config.py
+++ b/jhbuild/config.py
@@ -563,12 +563,12 @@ class Config:
options = self.cmdline_options
else:
self.cmdline_options = options
- if hasattr(options, 'clean') and (
- options.clean and not 'clean' in self.build_targets):
- self.build_targets.insert(0, 'clean')
if hasattr(options, 'check') and (
options.check and not 'check' in self.build_targets):
self.build_targets.insert(0, 'check')
+ if hasattr(options, 'clean') and (
+ options.clean and not 'clean' in self.build_targets):
+ self.build_targets.insert(0, 'clean')
if hasattr(options, 'dist') and (
options.dist and not 'dist' in self.build_targets):
self.build_targets.append('dist')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]