summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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/*')
+