nextcloud-desktop/doc/CMakeLists.txt

35 lines
564 B
Text
Raw Normal View History

2009-03-18 12:55:14 +03:00
project(doc C)
2008-02-27 20:56:47 +03:00
# Build the documentation
#
include(UseDoxygen OPTIONAL)
2008-09-03 15:38:45 +04:00
file(GLOB _manpages *.[0-9].txt)
2008-07-03 13:10:12 +04:00
add_custom_target(man
COMMAND
${CMAKE_CURRENT_SOURCE_DIR}/makeman.sh ${_manpages}
WORKING_DIRECTORY
${CMAKE_CURRENT_SOURCE_DIR}
)
2008-09-03 15:38:45 +04:00
add_custom_target(userguide
COMMAND
2012-10-05 16:54:13 +04:00
${CMAKE_CURRENT_SOURCE_DIR}/makeguide.sh ocsync.txt
2008-09-03 15:38:45 +04:00
WORKING_DIRECTORY
${CMAKE_CURRENT_SOURCE_DIR}
)
2008-07-03 13:10:12 +04:00
install(
FILES
2012-10-05 16:54:13 +04:00
ocsync.1
2008-07-03 13:10:12 +04:00
DESTINATION
${MAN_INSTALL_DIR}/man1
)
2008-09-04 12:26:53 +04:00
install(
DIRECTORY
userguide
DESTINATION
2012-10-05 16:54:13 +04:00
${SHARE_INSTALL_PREFIX}/doc/ocsync
2008-09-04 12:26:53 +04:00
)