# -*- python -*- Import('env') 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