Revision: 1145 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1145&view=re... Author: frlan Date: 2010-01-29 18:17:35 +0000 (Fri, 29 Jan 2010)
Log Message: ----------- GeanyLaTeX: Modified VERSION macro to also show the svn revision in case of build out of svn.
Modified Paths: -------------- trunk/geanylatex/wscript
Modified: trunk/geanylatex/wscript =================================================================== --- trunk/geanylatex/wscript 2010-01-29 18:16:28 UTC (rev 1144) +++ trunk/geanylatex/wscript 2010-01-29 18:17:35 UTC (rev 1145) @@ -184,7 +184,12 @@ conf.env['shlib_PATTERN'] = '%s.so'
svn_rev = conf_get_svn_rev() + conf.define('REVISION', svn_rev, 1) + if svn_rev > -1: + conf.define('VERSION', VERSION + ' r' + svn_rev, 1) + else: + conf.define('VERSION', VERSION, 1)
conf.env['G_PREFIX'] = conf.env['PREFIX']
@@ -199,7 +204,7 @@ else: conf.define('PREFIX', conf.env['PREFIX'], 1) conf.define('DOCDIR', '%s/doc/geany-plugins/' % conf.env['DATADIR'], 1) - conf.define('VERSION', VERSION, 1) + conf.define('PACKAGE', APPNAME, 1) conf.define('GETTEXT_PACKAGE', APPNAME, 1) conf.define('ENABLE_NLS', 1)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.