[buildj] set project information so the install command works
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [buildj] set project information so the install command works
- Date: Mon, 13 Sep 2010 19:18:54 +0000 (UTC)
commit fd1f9e93c9e794abb186884e87f9dbcfce8687d2
Author: Abderrahim Kitouni <a kitouni gmail com>
Date: Mon Sep 13 12:27:40 2010 +0100
set project information so the install command works
wscript | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/wscript b/wscript
index 377dc1d..a4ee3c1 100644
--- a/wscript
+++ b/wscript
@@ -13,14 +13,13 @@ VERSION = None
def parse_project_file (project_file=DEFAULT_BUILDJ_FILE):
try:
project = ProjectFile (project_file)
+ set_project_info(project)
except ValueError, e:
raise Utils.WscriptError (str(e), project_file)
return project
-def set_project_info (project_file=DEFAULT_BUILDJ_FILE):
- project = parse_project_file ()
-
+def set_project_info (project):
global APPNAME, VERSION
APPNAME = project.get_project_name ()
VERSION = project.get_project_version ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]