moving manpage

This commit is contained in:
Axel Kittenberger 2016-05-30 16:23:14 +02:00
parent 2e572a1391
commit 8e361d1f77
1 changed files with 5 additions and 5 deletions

View File

@ -80,16 +80,16 @@ add_custom_command( OUTPUT defaults.out
) )
# the manpage # 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 ${CMAKE_COMMAND} -E echo "Updating the manpage"
COMMAND a2x --format=manpage doc/lsyncd.1.txt COMMAND a2x --format=manpage doc/manpage/lsyncd.1.txt
DEPENDS doc/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 # compiling and linking it all together
add_executable( lsyncd ${LSYNCD_SRC} ) add_executable( lsyncd ${LSYNCD_SRC} )
target_link_libraries( lsyncd ${LUA_LIBRARIES} ) target_link_libraries( lsyncd ${LUA_LIBRARIES} )
install( TARGETS lsyncd RUNTIME DESTINATION bin ) install( TARGETS lsyncd RUNTIME DESTINATION bin )
install( FILES doc/lsyncd.1 DESTINATION man) install( FILES doc/manpage/lsyncd.1 DESTINATION man)