diff options
author | David Robillard <d@drobilla.net> | 2010-12-16 20:39:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-16 20:39:26 +0000 |
commit | 6127d77d4ff9b2c00e36a447f1620711435eca20 (patch) | |
tree | 2f3de5a36f6f00b21f5052cf32db34bb77e20a3e | |
parent | d576272c7fe50093392f3ae11b388a86ba43c221 (diff) | |
download | autowaf-6127d77d4ff9b2c00e36a447f1620711435eca20.tar.gz autowaf-6127d77d4ff9b2c00e36a447f1620711435eca20.tar.bz2 autowaf-6127d77d4ff9b2c00e36a447f1620711435eca20.zip |
Update waf to svn version with working and improved Doxygen tool.
git-svn-id: http://svn.drobilla.net/autowaf@8 e2e4594f-ea7b-45dc-bc5a-5f5301e603aa
-rw-r--r-- | autowaf.py | 18 | ||||
-rwxr-xr-x | waf | bin | 76940 -> 78226 bytes |
2 files changed, 12 insertions, 6 deletions
@@ -11,8 +11,9 @@ import sys import Configure import Logs import Options + +from waflib import Context, Task, Utils, Node from TaskGen import feature, before, after -from waflib import Context global g_is_child g_is_child = False @@ -329,10 +330,11 @@ def build_dox(bld, name, version, srcdir, blddir): src_dir = srcdir doc_dir = os.path.join(blddir, 'doc') - doxyfile = bld(features = 'subst', + subst_tg = bld(features = 'subst', source = 'doc/reference.doxygen.in', target = 'doc/reference.doxygen', - install_path = '') + install_path = '', + name = 'doxyfile') subst_dict = { name + '_VERSION' : version, @@ -340,11 +342,15 @@ def build_dox(bld, name, version, srcdir, blddir): name + '_DOC_DIR' : os.path.abspath(doc_dir) } - doxyfile.__dict__.update(subst_dict) + subst_tg.__dict__.update(subst_dict) docs = bld(features = 'doxygen', - doxyfile = 'doc/reference.doxygen', - after = doxyfile) + doxyfile = os.path.join(str(bld.path.get_bld()), 'doc', 'reference.doxygen')) + + bld.install_files('${HTMLDIR}', bld.path.get_bld().ant_glob('doc/html/*')) + bld.install_files('${MANDIR}/man1', bld.path.get_bld().ant_glob('doc/man/man1/*')) + bld.install_files('${MANDIR}/man3', bld.path.get_bld().ant_glob('doc/man/man3/*')) + # Version code file generation def build_version_files(header_path, source_path, domain, major, minor, micro): Binary files differ |