PPI: Checkin of first compiling (yet not working) version
[senf.git] / SConstruct
index 5ce43a2..50a148e 100644 (file)
@@ -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()
            },
 )
 
@@ -41,7 +34,6 @@ SENFSCons.Doxygen(env)
 SENFSCons.DoxyXRef(env,
                    HTML_HEADER = '#/doclib/doxy-header-overview.html',
                    HTML_FOOTER = '#/doclib/doxy-footer.html')
-SENFSCons.DoxySearch(env)
 
 # Create Doxyfile.local if not cleaning and the file does not exist
 # otherwise doxygen will barf on this non-existent file