3 import sys, glob, os.path, datetime
4 sys.path.append('senfscons')
7 ###########################################################################
9 # Load utilities and setup libraries
11 SENFSCons.UseSTLPort()
12 env = SENFSCons.MakeEnvironment()
18 DOXY_XREF_TYPES = [ 'bug', 'fixme', 'todo', 'idea' ],
19 DOXY_HTML_XSL = '#/doclib/html-munge.xsl',
20 ENV = { 'TODAY' : str(datetime.date.today()),
21 'REVISION' : os.popen("svnversion").read().strip()
27 # Build modules (that is, instruct to build ... the build happens later)
28 SConscript(glob.glob("*/SConscript"))
30 SENFSCons.StandardTargets(env)
31 SENFSCons.GlobalTargets(env)
32 SENFSCons.Doxygen(env)
34 SENFSCons.DoxyXRef(env,
35 HTML_HEADER = '#/doclib/doxy-header-overview.html',
36 HTML_FOOTER = '#/doclib/doxy-footer.html')
38 # Create Doxyfile.local if not cleaning and the file does not exist
39 # otherwise doxygen will barf on this non-existent file
40 if not env.GetOption('clean') and not os.path.exists("Doxyfile.local"):
41 Execute(Touch("Doxyfile.local"))