git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1485
270642c3-0616-0410-b53a-bc976706d245
env.Append( ENV = {
'TODAY' : str(datetime.date.today()),
- 'DOXYGEN' : str(env.File(env['DOXYGEN'])),
})
env.PhonyTarget('linklint', [], [
'LIBDIR' : env.Dir('#/site_scons/lib').abspath,
'output_dir' : '$OUTPUT_DIRECTORY',
'html_dir' : 'html',
- 'html' : 'NO' }
+ 'html' : 'NO',
+ 'DOXYGEN' : '$DOXYGEN' }
denv.update(kw)
return { 'DOXYENV' : denv,
'MODULE' : module,
'tagfiles' : '$TAGFILES',
'output_dir' : 'doc',
'html_dir' : 'html',
- 'html' : 'YES' },
+ 'html' : 'YES',
+ 'DOXYGEN' : '$DOXYGEN' },
TAGFILES = tagfiles,
DOCLIBDIR = libdir,
DOXYGENCOM = "$DOCLIBDIR/doxygen.sh $DOXYOPTS $SOURCE")
})
env.SetDefault(
- DOXYGENCOM = 'cd ${SOURCE.dir} && doxygen ${SOURCE.file}'
+ DOXYGEN = "doxygen",
+ DOXYGENCOM = 'cd ${SOURCE.dir} && ${DOXYGEN} ${SOURCE.file}'
)
def exists(env):