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:
Andreu Montiel 2020-06-13 14:50:40 +00:00
commit 879d6240cf
1 changed files with 2 additions and 2 deletions

View File

@ -208,10 +208,10 @@ def process_doxy(self):
self.bld.fatal('doxygen file %s not found' % self.doxyfile)
# 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):
tsk = self.create_task('tar')
tsk = self.create_task('tar', always_run=getattr(self, 'always', False))
tsk.input_tasks = [dsk]
tsk.set_outputs(self.path.find_or_declare(self.doxy_tar))
if self.doxy_tar.endswith('bz2'):