X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FExt%2FSConscript;h=1a6d41f706adf129149376ac1f2753cfbb167bf9;hb=c505c034e5fdc932c02aa3dc3847a5551011d87e;hp=ccfed8f284bc30213ffb8f18bee0475ca35b4c2c;hpb=213b5ea43eeaead3a9752b598069e6a1e99fe6e0;p=senf.git diff --git a/senf/Ext/SConscript b/senf/Ext/SConscript index ccfed8f..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)