X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senfscons%2FSENFSCons.py;h=0484e5695054737a6f50b235a2382e7f2032e6c7;hb=5a5c6d7f0fae7ad6c0af49d7742955cb6cf618cf;hp=a9961d60a7f2b61b5677576f74b318b371623fae;hpb=aec1302f91b51edb58f8a97985ab2e0aa9c8db66;p=senf.git diff --git a/senfscons/SENFSCons.py b/senfscons/SENFSCons.py index a9961d6..0484e56 100644 --- a/senfscons/SENFSCons.py +++ b/senfscons/SENFSCons.py @@ -175,7 +175,13 @@ def Doxygen(env, doxyfile = "Doxyfile", extra_sources = []): env.AddPostAction( docs, env.Action(("for html in %s/*.html; do " + - "xsltproc --nonet --html -o $${html}.new %s $${html} && mv $${html}.new $${html}; " + + " echo $$html;" + + " sed -e 's/id=\"current\"/class=\"current\"/' $${html}" + + " | tidy -ascii -q --show-warnings no" + + " | xsltproc --nonet --html -o $${html}.new %s - 2>&1" + + " | grep '^-'" + + " | grep -v 'ID .* already defined';" + + " mv $${html}.new $${html}; " + "done") % (htmlnode.dir.abspath, xslfile.abspath))) for doc in docs: