X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senfscons%2FSatSCons.py;h=bed67e0bf7f342438669f0bc469a698e4055cc7b;hb=b440d8b56e04db7faf295a68b5fc9befee15e891;hp=6c8bcc90093deff004d9c6ca9fa7a615753cb5cd;hpb=ac6a813d9d99f7add4e13aff7a4bcd314d5604a6;p=senf.git diff --git a/senfscons/SatSCons.py b/senfscons/SatSCons.py index 6c8bcc9..bed67e0 100644 --- a/senfscons/SatSCons.py +++ b/senfscons/SatSCons.py @@ -160,6 +160,16 @@ def DoxyGlob(exclude=[]): def Doxygen(env, doxyfile="Doxyfile", extra_sources = []): docs = env.Doxygen(doxyfile) + # The last target is the (optional) tagfile + if os.path.basename(str(docs[-1])) != '.stamp': + # Postprocess the tag file to remove the (broken) namespace + # references + env.AddPostAction( + docs, + env.Action([ "xsltproc -o ${TARGETS[-1]}.temp %s ${TARGETS[-1]}" + % os.path.join(basedir,"tagmunge.xsl"), + "mv ${TARGETS[-1]}.temp ${TARGETS[-1]}" ])) + env.Clean(docs[-1],"$TARGET.temp") env.Depends(docs,extra_sources) env.Alias('all_docs', *docs) return docs