[jhbuild: 20/27] set clean target before the check target, to emulate old behaviour
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Subject: [jhbuild: 20/27] set clean target before the check target, to emulate old behaviour
- Date: Sat, 16 May 2009 09:38:27 -0400 (EDT)
commit 4594ea7e1eb1df92740e33d9235d6d6c766bb93e
Author: Frédéric Péters <fpeters 0d be>
Date: Sat May 16 15:16:58 2009 +0200
set clean target before the check target, to emulate old behaviour
---
jhbuild/config.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/jhbuild/config.py b/jhbuild/config.py
index 62bd80a..002c74c 100644
--- a/jhbuild/config.py
+++ b/jhbuild/config.py
@@ -344,10 +344,10 @@ class Config:
os.environ['LD_PRELOAD'] = ' '.join(valarr)
# update build targets according to old flags
- if self.makeclean and not 'clean' in self.build_targets:
- self.build_targets.insert(0, 'clean')
if self.makecheck and not 'check' in self.build_targets:
self.build_targets.insert(0, 'check')
+ if self.makeclean and not 'clean' in self.build_targets:
+ self.build_targets.insert(0, 'clean')
if self.nobuild:
self.build_targets.remove('install')
if len(self.build_targets) == 0:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]