Upgrade: disable doxygen builder (WIP)
BuilderDoxygen and BuilderGCH are external plug-ins, not developed in this project and probably unmaintained. TODO: decide how to fix or replace them...
This commit is contained in:
parent
0376fd7376
commit
4131602593
4 changed files with 12 additions and 9 deletions
|
|
@ -59,15 +59,17 @@ env.Clean ('build', [ 'src/pre.gch' ])
|
||||||
### === Alias Targets === ###########################################
|
### === Alias Targets === ###########################################
|
||||||
|
|
||||||
# pick up the targets defined by the sub SConscripts
|
# pick up the targets defined by the sub SConscripts
|
||||||
Import('lumiera plugins tools gui testsuite doxydoc')
|
#Import('lumiera plugins tools gui testsuite doxydoc')
|
||||||
|
Import('lumiera plugins tools gui testsuite')
|
||||||
|
|
||||||
build = env.Alias('build', lumiera + plugins + tools + gui)
|
build = env.Alias('build', lumiera + plugins + tools + gui)
|
||||||
env.Default('build')
|
env.Default('build')
|
||||||
# SCons default target
|
# SCons default target
|
||||||
|
|
||||||
|
|
||||||
env.Alias ('all', build + testsuite + doxydoc)
|
#env.Alias ('all', build + testsuite + doxydoc)
|
||||||
env.Alias ('doc', doxydoc)
|
env.Alias ('all', build + testsuite)
|
||||||
|
#env.Alias ('doc', doxydoc)
|
||||||
env.Alias ('none')
|
env.Alias ('none')
|
||||||
|
|
||||||
env.Alias('install', gui)
|
env.Alias('install', gui)
|
||||||
|
|
|
||||||
|
|
@ -34,12 +34,13 @@ def DoxyfileParse(file_contents):
|
||||||
|
|
||||||
import shlex
|
import shlex
|
||||||
lex = shlex.shlex(instream = file_contents, posix = True)
|
lex = shlex.shlex(instream = file_contents, posix = True)
|
||||||
|
#lex = shlex.shlex(instream = file_contents, infile = file_contents, posix = True)
|
||||||
lex.wordchars += "*+./-:"
|
lex.wordchars += "*+./-:"
|
||||||
lex.whitespace = lex.whitespace.replace("\n", "")
|
lex.whitespace = lex.whitespace.replace("\n", "")
|
||||||
lex.escape = ""
|
lex.escape = ""
|
||||||
|
|
||||||
lineno = lex.lineno
|
lineno = lex.lineno
|
||||||
token = lex.get_token()
|
token = lex.read_token()
|
||||||
key = token # the first token should be a key
|
key = token # the first token should be a key
|
||||||
last_token = ""
|
last_token = ""
|
||||||
key_token = False
|
key_token = False
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,8 @@ class LumieraEnvironment(Environment):
|
||||||
Environment.__init__ (self, **kw)
|
Environment.__init__ (self, **kw)
|
||||||
self.path = Record (extract_localPathDefs(buildSetup)) # e.g. buildExe -> env.path.buildExe
|
self.path = Record (extract_localPathDefs(buildSetup)) # e.g. buildExe -> env.path.buildExe
|
||||||
self.libInfo = {}
|
self.libInfo = {}
|
||||||
self.Tool("BuilderGCH")
|
#self.Tool("BuilderGCH")
|
||||||
self.Tool("BuilderDoxygen")
|
#self.Tool("BuilderDoxygen")
|
||||||
self.Tool("ToolDistCC")
|
self.Tool("ToolDistCC")
|
||||||
self.Tool("ToolCCache")
|
self.Tool("ToolCCache")
|
||||||
register_LumieraResourceBuilder(self)
|
register_LumieraResourceBuilder(self)
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,10 @@
|
||||||
Import('env')
|
Import('env')
|
||||||
|
|
||||||
|
|
||||||
doxydoc = env.Doxygen('devel/Doxyfile')
|
#doxydoc = env.Doxygen('devel/Doxyfile')
|
||||||
|
|
||||||
# env.Install(dir = '$DESTDIR/share/doc/lumiera$VERSION/devel', source=documentation)
|
# env.Install(dir = '$DESTDIR/share/doc/lumiera$VERSION/devel', source=documentation)
|
||||||
env.Clean (doxydoc, doxydoc + ['devel/,doxylog','devel/warnings.txt'])
|
#env.Clean (doxydoc, doxydoc + ['devel/,doxylog','devel/warnings.txt'])
|
||||||
|
|
||||||
|
|
||||||
Export('doxydoc')
|
#Export('doxydoc')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue