summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-18 23:10:41 +0000
committerDavid Robillard <d@drobilla.net>2012-04-18 23:10:41 +0000
commit40cae22e899f1d316461b7c4b382513334497df9 (patch)
treed129249f5fbd72c4c27e7c0d1f91856b0ea419b3 /wscript
parent58e8b66da1f88893863bcaa9833fee9997e46a65 (diff)
downloadsratom-40cae22e899f1d316461b7c4b382513334497df9.tar.gz
sratom-40cae22e899f1d316461b7c4b382513334497df9.tar.bz2
sratom-40cae22e899f1d316461b7c4b382513334497df9.zip
Add documentation stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4199 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript7
1 files changed, 5 insertions, 2 deletions
diff --git a/wscript b/wscript
index d837678..6984bae 100644
--- a/wscript
+++ b/wscript
@@ -175,9 +175,12 @@ def fix_docs(ctx):
os.chdir(build_dir(ctx, 'doc/html'))
os.system("sed -i 's/SRATOM_API //' group__sratom.html")
os.system("sed -i 's/SRATOM_DEPRECATED //' group__sratom.html")
+ os.system("sed -i 's/href=\"doc\/style.css\"/href=\"style.css\"/' group__sratom.html")
os.remove('index.html')
- os.symlink('group__sratom.html',
- 'index.html')
+ os.symlink('group__sratom.html', 'index.html')
+ os.chdir(top)
+ os.chdir(build_dir(ctx, 'doc/man/man3'))
+ os.system("sed -i 's/SRATOM_API //' sratom.3")
os.chdir(top)
except:
Logs.error("Failed to fix up %s documentation" % APPNAME)