summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-06 00:27:44 +0000
committerDavid Robillard <d@drobilla.net>2012-08-06 00:27:44 +0000
commit3b899b4f8c72990679c33d480b968882b0e6f960 (patch)
treeb8fddf7c9ecf63dfb26707a5bb61ce7c857045af /wscript
parent0b75081df8ee1b29cc5c355b9ed1c523413b2d6c (diff)
downloadzix-3b899b4f8c72990679c33d480b968882b0e6f960.tar.gz
zix-3b899b4f8c72990679c33d480b968882b0e6f960.tar.bz2
zix-3b899b4f8c72990679c33d480b968882b0e6f960.zip
Improve documentation.
git-svn-id: http://svn.drobilla.net/zix/trunk@71 df6676b4-ccc9-40e5-b5d6-7c4628a128e3
Diffstat (limited to 'wscript')
-rw-r--r--wscript23
1 files changed, 2 insertions, 21 deletions
diff --git a/wscript b/wscript
index b31787a..cafa75a 100644
--- a/wscript
+++ b/wscript
@@ -184,27 +184,8 @@ def build_dir(ctx, subdir):
return os.path.join('build', subdir)
def fix_docs(ctx):
- try:
- os.chdir('build/doc/html')
- os.system("sed -i 's/ZIX_API //' group__zix.html")
- os.system("sed -i 's/ZIX_DEPRECATED //' group__zix.html")
- os.remove('index.html')
- os.symlink('group__zix.html',
- 'index.html')
- except:
- Logs.error("Failed to fix up %s documentation" % APPNAME)
-
-def fix_docs(ctx):
- try:
- top = os.getcwd()
- os.chdir(build_dir(ctx, 'doc/html'))
- os.system("sed -i 's/ZIX_API //' group__zix.html")
- os.remove('index.html')
- os.symlink('group__zix.html',
- 'index.html')
- os.chdir(top)
- except Exception:
- Logs.error("Failed to fix up %s documentation" % APPNAME)
+ if ctx.cmd == 'build':
+ autowaf.make_simple_dox(APPNAME)
def upload_docs(ctx):
os.system("rsync -avz --delete -e ssh build/doc/html/* drobilla@drobilla.net:~/drobilla.net/docs/zix")