From 21b42c7b40c4dd0598b60fa7eda1e3c501e32e41 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 27 Sep 2014 03:13:27 +0000 Subject: Improve documentation. --- wscript | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'wscript') 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) -- cgit v1.2.3