mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-05-31 23:40:51 +00:00
moving manpage
This commit is contained in:
parent
2e572a1391
commit
8e361d1f77
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user