summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-18 05:23:35 +0000
committerDavid Robillard <d@drobilla.net>2012-04-18 05:23:35 +0000
commitaa7d552e83a9b522386620eee1aedd9485f32a27 (patch)
treec36df18f58013ede8573d5af0b2e0b300b31625d
parente9b0ef9784e35fae30e1377493e75c22428dc663 (diff)
downloadsord-aa7d552e83a9b522386620eee1aedd9485f32a27.tar.gz
sord-aa7d552e83a9b522386620eee1aedd9485f32a27.tar.bz2
sord-aa7d552e83a9b522386620eee1aedd9485f32a27.zip
Fix absolute path in documentation.
git-svn-id: http://svn.drobilla.net/sord/trunk@220 3d64ff67-21c5-427c-a301-fe4f08042e5a
-rw-r--r--doc/reference.doxygen.in2
-rw-r--r--wscript4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/reference.doxygen.in b/doc/reference.doxygen.in
index 536417a..da82e88 100644
--- a/doc/reference.doxygen.in
+++ b/doc/reference.doxygen.in
@@ -794,7 +794,7 @@ HTML_FOOTER =
# the style sheet file to the HTML output directory, so don't put your own
# stylesheet in the HTML output directory as well, or it will be erased!
-HTML_STYLESHEET = @SORD_SRCDIR@/doc/style.css
+HTML_STYLESHEET = doc/style.css
# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
# files or namespaces will be aligned in HTML using tables. If set to
diff --git a/wscript b/wscript
index 4a001e0..d57abc4 100644
--- a/wscript
+++ b/wscript
@@ -236,9 +236,9 @@ def fix_docs(ctx):
os.chdir(build_dir(ctx, 'doc/html'))
os.system("sed -i 's/SORD_API //' group__sord.html")
os.system("sed -i 's/SORD_DEPRECATED //' group__sord.html")
+ os.system("sed -i 's/href=\"doc\/style.css\"/href=\"style.css\"/' group__sord.html")
os.remove('index.html')
- os.symlink('group__sord.html',
- 'index.html')
+ os.symlink('group__sord.html', 'index.html')
os.chdir(top)
os.chdir(build_dir(ctx, 'doc/man/man3'))
os.system("sed -i 's/SORD_API //' sord.3")