X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FExt%2FSConscript;h=1a6d41f706adf129149376ac1f2753cfbb167bf9;hb=93d9568d448749dc187e7622b733a4a3caa319df;hp=90dcbc4c86b07ddcf0cf32cbf9ef1081e24cc033;hpb=dabe8f95330ac77629aabcb710627af474b440de;p=senf.git diff --git a/senf/Ext/SConscript b/senf/Ext/SConscript index 90dcbc4..1a6d41f 100644 --- a/senf/Ext/SConscript +++ b/senf/Ext/SConscript @@ -7,40 +7,14 @@ import SENFSCons, glob, os.path, yaptu sconscripts = sorted(glob.glob("*/SConscript")) -EXTENSIONS = [] -for script in sconscripts: - name = os.path.split(script)[0] - dox = os.path.join(name, 'Mainpage.dox') - title = '' - if os.path.exists(dox): - title = ([''] + [ line.split('\\mainpage',1)[-1].strip() for line in file(dox) - if '\\mainpage' in line ])[-1] - EXTENSIONS.append((name, title)) - +if sconscripts: + SENFSCons.IndexPage(env, 'Mainpage.dox', title="Extensions", + text="""This folder contains additional SENF extensions which are built + into the senf libarary but are not part of senf proper.""") -MAINPAGE=""" -/** \mainpage Extensions + SConscript(sconscripts) - This folder contains additional SENF extensions which are built - into the senf libarary but are not part of senf proper. + env.Clean('all','Mainpage.dox') + env.Clean('all_docs','Mainpage.dox') - \htmlonly -
- -{{ for name, title in EXTENSIONS: -
${name}
${title}
-}} - -
- \endhtmlonly - */ -""" - -file("Mainpage.dox","w").write(yaptu.process(MAINPAGE, globals(), env.Dictionary())) - -SConscript(sconscripts) - -env.Clean('all','Mainpage.dox') -env.Clean('all_docs','Mainpage.dox') - -SENFSCons.Doxygen(env) + SENFSCons.Doxygen(env)