diff options
author | Christian Dywan <christian@twotoasts.de> | 2009-02-19 02:07:03 +0100 |
---|---|---|
committer | Christian Dywan <christian@twotoasts.de> | 2009-02-19 02:07:03 +0100 |
commit | 5bbe905f22310f634bed1d41dd4052e310011fab (patch) | |
tree | 606735567bc361853ff171d9ad58e2baa1fe731f /docs | |
parent | d9a6473d12337302266416dda077a7ef8ad3bdae (diff) | |
download | midori-5bbe905f22310f634bed1d41dd4052e310011fab.tar.gz |
Use existing utility functions of WAF rather than our own
Diffstat (limited to 'docs')
-rw-r--r-- | docs/api/wscript_build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/api/wscript_build b/docs/api/wscript_build index 7733da71..8e72edb4 100644 --- a/docs/api/wscript_build +++ b/docs/api/wscript_build @@ -7,11 +7,11 @@ import pproc as subprocess for module in ('midori', 'katze'): try: if not os.access ('_build_', os.F_OK): - os.mkdir ('_build_') + Utils.check_dir ('_build_') if not os.access ('_build_/docs', os.F_OK): - os.mkdir ('_build_/docs') + Utils.check_dir ('_build_/docs') if not os.access ('_build_/docs/api', os.F_OK): - os.mkdir ('_build_/docs/api') + Utils.check_dir ('_build_/docs/api') subprocess.call (['gtkdoc-scan', '--module=' + module, '--source-dir=' + module, '--output-dir=_build_/docs/api/' + module, '--rebuild-sections', '--rebuild-types']) @@ -24,7 +24,7 @@ for module in ('midori', 'katze'): '--default-includes=%s/%s.h' % (module, module), '--sgml-mode', '--main-sgml-file=%s.sgml' % module]) if not os.access ('html', os.F_OK): - os.mkdir ('html') + Utils.check_dir ('html') os.chdir ('html') subprocess.call (['gtkdoc-mkhtml', module, '../%s.sgml' % module]) Params.pprint ('YELLOW', "Created documentation for %s." % module) |