X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FExt%2FSConscript;h=1a6d41f706adf129149376ac1f2753cfbb167bf9;hb=c505c034e5fdc932c02aa3dc3847a5551011d87e;hp=772dad7b74849ab3b220e50dd2a6e4bc293fce26;hpb=af2ad28d50286dae94a24fd71a3f10236b4833c7;p=senf.git diff --git a/senf/Ext/SConscript b/senf/Ext/SConscript index 772dad7..1a6d41f 100644 --- a/senf/Ext/SConscript +++ b/senf/Ext/SConscript @@ -8,36 +8,9 @@ import SENFSCons, glob, os.path, yaptu sconscripts = sorted(glob.glob("*/SConscript")) if sconscripts: - 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)) - - - MAINPAGE=""" - /** \mainpage Extensions - - This folder contains additional SENF extensions which are built - into the senf libarary but are not part of senf proper. - - \htmlonly -
- - {{ for name, title in EXTENSIONS: -
${name}
${title}
- }} - -
- \endhtmlonly - */ - """ - - file("Mainpage.dox","w").write(yaptu.process(MAINPAGE, globals(), env.Dictionary())) + 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.""") SConscript(sconscripts)