aboutsummaryrefslogtreecommitdiffstats
path: root/doc/CMakeLists.txt
blob: bf45df2882e5ba20f482cf9b17c64b288da3085a (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_SOURCE_DIR}"
	COMMENT "Building man page with Sphinx"
)

INSTALL(FILES "yawa.1" DESTINATION "share/man/man1")