X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=SConstruct;h=50a148e4d5da3b2e182f262523562792504b9636;hb=81ffa1c459b96dd44472bcef37e1e373934ee138;hp=7d09e74d75784307e10cd3410c014b9934a7c47f;hpb=532dab5ed9c5a51af5736e893e9b4a1af698bac4;p=senf.git diff --git a/SConstruct b/SConstruct index 7d09e74..50a148e 100644 --- a/SConstruct +++ b/SConstruct @@ -6,13 +6,6 @@ import SENFSCons ########################################################################### -# Load subversion information -svninfo = dict( - [ map(lambda y:y.strip(),x.split(":",1)) - for x in os.popen("svn info").read().split("\n") - if ':' in x ] ) -svninfo['commited'] = not(os.popen("svn status -q").read()) - # Load utilities and setup libraries SENFSCons.UseBoost() SENFSCons.UseSTLPort() @@ -21,11 +14,11 @@ env = SENFSCons.MakeEnvironment() # Configure build env.Append( CPPPATH = [ '#' ], - LIBS = [ 'iberty' ], + LIBS = [ 'iberty', '$BOOSTREGEXLIB' ], DOXY_XREF_TYPES = [ 'bug', 'fixme', 'todo', 'idea' ], DOXY_HTML_XSL = '#/doclib/html-munge.xsl', ENV = { 'TODAY' : str(datetime.date.today()), - 'REVISION' : svninfo['Revision'] + (not(svninfo['commited']) and " + local changes" or ""), + 'REVISION' : os.popen("svnversion").read().strip() }, )