aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-09-27 03:13:27 +0000
committerDavid Robillard <d@drobilla.net>2014-09-27 03:13:27 +0000
commit21b42c7b40c4dd0598b60fa7eda1e3c501e32e41 (patch)
treef7e39c0d1c3ff4ecaa072a399decfa9bf8ef0817 /wscript
parentdd9b6fe61373e0f1ff0015a2d6b01360897fa8fc (diff)
downloadpugl-21b42c7b40c4dd0598b60fa7eda1e3c501e32e41.tar.gz
pugl-21b42c7b40c4dd0598b60fa7eda1e3c501e32e41.tar.bz2
pugl-21b42c7b40c4dd0598b60fa7eda1e3c501e32e41.zip
Improve documentation.
Diffstat (limited to 'wscript')
-rw-r--r--wscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/wscript b/wscript
index fb4c90b..522c0e8 100644
--- a/wscript
+++ b/wscript
@@ -180,6 +180,17 @@ def build(bld):
defines = defines,
cflags = test_cflags)
+ if bld.env['DOCS']:
+ bld(features = 'subst',
+ source = 'Doxyfile.in',
+ target = 'Doxyfile',
+ install_path = '',
+ name = 'Doxyfile',
+ PUGL_VERSION = PUGL_VERSION)
+
+ bld(features = 'doxygen',
+ doxyfile = 'Doxyfile')
+
def lint(ctx):
subprocess.call('cpplint.py --filter=+whitespace/comments,-whitespace/tab,-whitespace/braces,-whitespace/labels,-build/header_guard,-readability/casting,-readability/todo,-build/include src/* pugl/*', shell=True)