summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-01 23:45:51 +0000
committerDavid Robillard <d@drobilla.net>2008-10-01 23:45:51 +0000
commit4e834af5b5e63c6d258710368c8e43b92a81cf56 (patch)
tree6af5853e8328821118fb0740c3020cacb377b565 /wscript
parentd58eba655118adfa3c24ae74fb06eab5dedb9397 (diff)
downloadingen-4e834af5b5e63c6d258710368c8e43b92a81cf56.tar.gz
ingen-4e834af5b5e63c6d258710368c8e43b92a81cf56.tar.bz2
ingen-4e834af5b5e63c6d258710368c8e43b92a81cf56.zip
Ingen documentation building.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1575 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/wscript b/wscript
index cb160236..a411a7cc 100644
--- a/wscript
+++ b/wscript
@@ -1,6 +1,7 @@
#!/usr/bin/env python
import os
import Params
+import autowaf
# Version of this package (even if built as a child)
INGEN_VERSION = '0.5.1'
@@ -56,11 +57,19 @@ def build(bld):
opts = Params.g_options
opts.datadir = opts.datadir or bld.env()['PREFIX'] + 'share'
opts.moduledir = opts.moduledir or bld.env()['PREFIX'] + 'lib/ingen'
+
+ # Modules
bld.add_subdirs('src/engine')
bld.add_subdirs('src/serialisation')
bld.add_subdirs('src/module')
bld.add_subdirs('src/shared')
bld.add_subdirs('src/client')
bld.add_subdirs('src/gui')
+
+ # Program
bld.add_subdirs('src/ingen')
+
+ # Documentation
+ autowaf.build_dox(bld, 'INGEN', INGEN_VERSION, srcdir, blddir)
+ install_files('PREFIX', 'share/doc/ingen', blddir + '/default/doc/html/*')