blob: d0d1597bcd9ad02c341115ae700538159557a03c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
find_package(Sphinx REQUIRED)
add_custom_target(man ALL
${SPHINX_EXECUTABLE}
-q -b man
-Dversion="${PACKAGE_VERSION}"
"${CMAKE_CURRENT_SOURCE_DIR}"
"${CMAKE_CURRENT_BINARY_DIR}"
COMMENT "Building man page with Sphinx"
)
INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/yawa.1" DESTINATION "share/man/man1")
|