updated example

This commit is contained in:
Thomas Nagy 2011-11-23 08:32:24 +01:00
parent 56ac2bf5e8
commit a75f3c73d6
1 changed files with 13 additions and 4 deletions

View File

@ -17,8 +17,17 @@ def configure(conf):
def build(bld):
# Note: Doxgen parameters may be passed using pars attribute
# e.g. pars={'EXCLUDE_PATTERNS':'*.babu'}
bld(
features='doxygen',
doxyfile='test.conf',
doxy_tar='docs.tar.bz2')
if bld.cmd == 'doxy':
bld(
features='doxygen',
doxyfile='test.conf',
doxy_tar='docs.tar.bz2')
else:
print('some kind of normal build')
from waflib import Build
class doxy(Build.BuildContext):
fun = 'build'
cmd = 'doxy'