aboutsummaryrefslogtreecommitdiffstats
path: root/doc/CMakeLists.txt
blob: 410b2149cfba1640fa93279f88454db9b92d51d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
find_package(Sphinx REQUIRED)

add_custom_target(man ALL
	${SPHINX_EXECUTABLE}
	-q -b man
	"${CMAKE_CURRENT_SOURCE_DIR}"
	"${CMAKE_CURRENT_SOURCE_DIR}"
	COMMENT "Building man page with Sphinx"
)

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