From 8e361d1f778430beb1af8e6548e62c64dcd6b3f9 Mon Sep 17 00:00:00 2001 From: Axel Kittenberger Date: Mon, 30 May 2016 16:23:14 +0200 Subject: [PATCH] moving manpage --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 049eaa6..97dda92 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,16 +80,16 @@ add_custom_command( OUTPUT defaults.out ) # the manpage -add_custom_command( OUTPUT doc/lsyncd.1 +add_custom_command( OUTPUT doc/manpage/lsyncd.1 COMMAND ${CMAKE_COMMAND} -E echo "Updating the manpage" - COMMAND a2x --format=manpage doc/lsyncd.1.txt - DEPENDS doc/lsyncd.1.txt + COMMAND a2x --format=manpage doc/manpage/lsyncd.1.txt + DEPENDS doc/manpage/lsyncd.1.txt ) -add_custom_target( manpage ALL DEPENDS doc/lsyncd.1 ) +add_custom_target( manpage ALL DEPENDS doc/manpage/lsyncd.1 ) # compiling and linking it all together add_executable( lsyncd ${LSYNCD_SRC} ) target_link_libraries( lsyncd ${LUA_LIBRARIES} ) install( TARGETS lsyncd RUNTIME DESTINATION bin ) -install( FILES doc/lsyncd.1 DESTINATION man) +install( FILES doc/manpage/lsyncd.1 DESTINATION man)