From aa7d552e83a9b522386620eee1aedd9485f32a27 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 18 Apr 2012 05:23:35 +0000 Subject: Fix absolute path in documentation. git-svn-id: http://svn.drobilla.net/sord/trunk@220 3d64ff67-21c5-427c-a301-fe4f08042e5a --- doc/reference.doxygen.in | 2 +- wscript | 4 ++-- 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") -- cgit v1.2.1