aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-11-11 04:56:09 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2014-11-11 04:56:09 +0100
commitfaa66af27a808231e32bddd88b94448664dd276d (patch)
tree9a931cdbf655a40fd4a90a139a5c4b865b6adec8
parent284a371cf8a29b4f37c0c8749139b6e0f2a1996d (diff)
downloadyawa-faa66af27a808231e32bddd88b94448664dd276d.tar.xz
doc/CMakeLists: set version properly
-rw-r--r--doc/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 410b214..bf45df2 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -3,6 +3,7 @@ find_package(Sphinx REQUIRED)
add_custom_target(man ALL
${SPHINX_EXECUTABLE}
-q -b man
+ -Dversion="${PACKAGE_VERSION}"
"${CMAKE_CURRENT_SOURCE_DIR}"
"${CMAKE_CURRENT_SOURCE_DIR}"
COMMENT "Building man page with Sphinx"