mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-25 19:30:04 +01:00
Merge branch 'doxygen_taskgen_fix' into 'master'
Allow parameter "always" in doxygen tool (waflib/extra/doxygen.py) See merge request ita1024/waf!2292
This commit is contained in:
commit
225448be0d
@ -208,10 +208,10 @@ def process_doxy(self):
|
|||||||
self.bld.fatal('doxygen file %s not found' % self.doxyfile)
|
self.bld.fatal('doxygen file %s not found' % self.doxyfile)
|
||||||
|
|
||||||
# the task instance
|
# the task instance
|
||||||
dsk = self.create_task('doxygen', node)
|
dsk = self.create_task('doxygen', node, always_run=getattr(self, 'always', False))
|
||||||
|
|
||||||
if getattr(self, 'doxy_tar', None):
|
if getattr(self, 'doxy_tar', None):
|
||||||
tsk = self.create_task('tar')
|
tsk = self.create_task('tar', always_run=getattr(self, 'always', False))
|
||||||
tsk.input_tasks = [dsk]
|
tsk.input_tasks = [dsk]
|
||||||
tsk.set_outputs(self.path.find_or_declare(self.doxy_tar))
|
tsk.set_outputs(self.path.find_or_declare(self.doxy_tar))
|
||||||
if self.doxy_tar.endswith('bz2'):
|
if self.doxy_tar.endswith('bz2'):
|
||||||
|
Loading…
Reference in New Issue
Block a user