3 import sys, glob, os.path
4 sys.path.append('senfscons')
7 ###########################################################################
10 SENFSCons.UseSTLPort()
11 env = SENFSCons.MakeEnvironment()
16 DOXY_XREF_TYPES = [ 'bug', 'fixme', 'todo', 'idea' ],
22 [ tuple(map(lambda y:y.strip(),x.split(":",1)))
23 for x in os.popen("svn info").read().split("\n")
25 svninfo['commited'] = not(os.popen("svn status").read())
28 ENV = { 'TODAY' : datetime.date.today(),
29 'REVISION' : svninfo['Revision'] + (not(svninfo['commited']) and " + local changes" or "") }
34 SConscript(glob.glob("*/SConscript"))
36 SENFSCons.StandardTargets(env)
37 SENFSCons.GlobalTargets(env)
38 SENFSCons.Doxygen(env)
39 SENFSCons.DoxyXRef(env,
40 HTML_HEADER = '#/doclib/doxy-header-overview.html',
41 HTML_FOOTER = '#/doclib/doxy-footer.html')
43 if not env.GetOption('clean') and not os.path.exists("Doxyfile.local"):
44 Execute(Touch("Doxyfile.local"))