X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senfscons%2FSENFSCons.py;h=e365e854d7e6c9182de4791320f7d172fb623570;hb=7e21d703488f0a9c31bc3ac09f75626693fa5a7d;hp=2691664b1c358b45c40dd4e027fc4de7eb0c08fb;hpb=9e333f86141055c5248a46028a571c932648696a;p=senf.git diff --git a/senfscons/SENFSCons.py b/senfscons/SENFSCons.py index 2691664..e365e85 100644 --- a/senfscons/SENFSCons.py +++ b/senfscons/SENFSCons.py @@ -23,7 +23,8 @@ # All other functions are for internal use only. import os.path, glob -import SCons.Options, SCons.Environment, SCons.Script.SConscript, SCons.Node.FS, SCons.Defaults +import SCons.Options, SCons.Environment, SCons.Script.SConscript, SCons.Node.FS +import SCons.Defaults, SCons.Action ## \defgroup use Predefined Framework Configurators # @@ -372,7 +373,7 @@ def Doxygen(env, doxyfile = "Doxyfile", extra_sources = []): # references env.AddPostAction( docs, - env.Action("xsltproc --nonet -o %(target)s.temp %(template)s %(target)s && mv %(target)s.temp %(target)s" + SCons.Action.Action("xsltproc --nonet -o %(target)s.temp %(template)s %(target)s && mv %(target)s.temp %(target)s" % { 'target': tagnode.abspath, 'template': os.path.join(basedir,"tagmunge.xsl") })) @@ -380,7 +381,7 @@ def Doxygen(env, doxyfile = "Doxyfile", extra_sources = []): xslfile = env.File(env['DOXY_HTML_XSL']) env.AddPostAction( docs, - env.Action(("for html in %s/*.html; do " + + SCons.Action.Action(("for html in %s/*.html; do " + " echo $$html;" + " sed -e 's/id=\"current\"/class=\"current\"/' $${html}" + " | tidy -ascii -q --show-warnings no --fix-uri no" +