summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-02 05:35:24 +0000
committerDavid Robillard <d@drobilla.net>2008-10-02 05:35:24 +0000
commitb8c93f1c7e2806bd778936fd971bd2503462e420 (patch)
treef1568bed7dbd299f2c31d4ae9534fe3c5f768a51
parent482ee620d609d2993c33cb87778ab5608007aeb3 (diff)
downloadlilv-b8c93f1c7e2806bd778936fd971bd2503462e420.tar.gz
lilv-b8c93f1c7e2806bd778936fd971bd2503462e420.tar.bz2
lilv-b8c93f1c7e2806bd778936fd971bd2503462e420.zip
Build SLV2 documentation.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1591 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--doc/reference.doxygen.in4
-rw-r--r--wscript5
2 files changed, 7 insertions, 2 deletions
diff --git a/doc/reference.doxygen.in b/doc/reference.doxygen.in
index 38118c8..781d4bc 100644
--- a/doc/reference.doxygen.in
+++ b/doc/reference.doxygen.in
@@ -31,14 +31,14 @@ PROJECT_NAME = SLV2
# This could be handy for archiving the generated documentation or
# if some version control system is used.
-PROJECT_NUMBER = @PACKAGE_VERSION@
+PROJECT_NUMBER = @SLV2_VERSION@
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
# If a relative path is entered, it will be relative to the location
# where doxygen was started. If left blank the current directory will be used.
-OUTPUT_DIRECTORY =
+OUTPUT_DIRECTORY = @SLV2_DOC_DIR@
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
# 4096 sub-directories (in 2 levels) under the output directory of each output
diff --git a/wscript b/wscript
index b5f4a66..a9a29d9 100644
--- a/wscript
+++ b/wscript
@@ -116,4 +116,9 @@ def build(bld):
obj.uselib = 'JACK'
obj.uselib_local = 'libslv2'
obj.target = i
+
+ # Documentation
+ autowaf.build_dox(bld, 'SLV2', SLV2_VERSION, srcdir, blddir)
+ install_files('PREFIX', 'share/doc/slv2', blddir + '/default/doc/html/*')
+