X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senfscons%2FSENFSCons.py;h=1701b996ff55723fdf4bf476ae06562d3a95f6cc;hb=86b3d95df28c60c80ac852dc8356d814788366a7;hp=90b51c885d6a3f0a0d5b9dfe5f861865dc3bfcae;hpb=6fecbc9f068fc7c391f5f23d2c7ff37f61f1ff2d;p=senf.git diff --git a/senfscons/SENFSCons.py b/senfscons/SENFSCons.py index 90b51c8..1701b99 100644 --- a/senfscons/SENFSCons.py +++ b/senfscons/SENFSCons.py @@ -456,16 +456,17 @@ def Doxygen(env, doxyfile = "Doxyfile", extra_sources = []): # Rule to generate tagfile # (need to exclude the 'clean' case, otherwise we'll have duplicate nodes) if not env.GetOption('clean'): - env.Append(ALL_TAGFILES = - env.Doxygen(doxyfile, - DOXYOPTS = [ '--tagfile-name', '"${MODULE}.tag"', - '--tagfile' ], - DOXYENV = { 'TOPDIR' : env.Dir('#').abspath, - 'output_dir' : 'doc', - 'html_dir' : 'html', - 'html' : 'NO', - 'generate_tagfile': 'doc/${MODULE}.tag' }, - MODULE = module )[0].abspath) + tagfile = env.Doxygen(doxyfile, + DOXYOPTS = [ '--tagfile-name', '"${MODULE}.tag"', + '--tagfile' ], + DOXYENV = { 'TOPDIR' : env.Dir('#').abspath, + 'output_dir' : 'doc', + 'html_dir' : 'html', + 'html' : 'NO', + 'generate_tagfile': 'doc/${MODULE}.tag' }, + MODULE = module ) + env.Append(ALL_TAGFILES = tagfile[0].abspath) + env.Depends(tagfile, env.File('#/doclib/doxygen.sh')) # Rule to generate HTML documentation doc = env.Doxygen(doxyfile, @@ -478,6 +479,7 @@ def Doxygen(env, doxyfile = "Doxyfile", extra_sources = []): 'output_dir' : 'doc', 'html_dir' : 'html', 'html' : 'YES' } ) + env.Depends(doc, env.File('#/doclib/doxygen.sh')) # Copy the extra_sources (the images) into the documentation directory # (need to exclude the 'clean' case otherwise there are multiple ways to clean the copies)