cheese r415 - in trunk: . data
- From: jhaitsma svn gnome org
- To: svn-commits-list gnome org
- Subject: cheese r415 - in trunk: . data
- Date: Fri, 18 Jan 2008 20:13:20 +0000 (GMT)
Author: jhaitsma
Date: Fri Jan 18 20:13:20 2008
New Revision: 415
URL: http://svn.gnome.org/viewvc/cheese?rev=415&view=rev
Log:
Use more elegant way to obtain version
Modified:
trunk/ChangeLog
trunk/data/wscript_build
Modified: trunk/data/wscript_build
==============================================================================
--- trunk/data/wscript_build (original)
+++ trunk/data/wscript_build Fri Jan 18 20:13:20 2008
@@ -11,6 +11,8 @@
# (at your option) any later version.
import misc
+env = bld.env()
+
install_files('PACKAGE_DATADIR', '', 'cheese-ui.xml')
install_files('PACKAGE_DATADIR', '', 'cheese.glade')
@@ -23,11 +25,10 @@
obj.flags = '-s'
# process desktop.in.in file
-VERSION = Params.g_build.m_allenvs['default']['VERSION']
obj = bld.create_obj('subst')
obj.source = 'cheese.desktop.in.in'
obj.target = 'cheese.desktop.in'
-obj.dict = {'VERSION': VERSION}
+obj.dict = {'VERSION': env['VERSION']}
obj.fun = misc.subst_func
obj.prio = 1 # make sure that we run before intltool_in which processes desktop.in file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]