Add make_doxygen to cscript.
[libdcp.git] / cscript
1
2 def build(env, target):
3     cmd = './waf configure --prefix=%s' % env.work_dir_cscript()
4     if target.platform == 'linux':
5         cmd += ' --static-libdcp --static-openjpeg'
6     elif target.platform == 'windows':
7         cmd += ' --target-windows'
8     env.command(cmd)
9     env.command('./waf build install')
10
11 def make_doxygen(env):
12     env.command('doxygen')
13     return os.path.abspath('build/doc/html')