Merge pull request #732 from ringlej/fix-man-install

Fix install of man page
This commit is contained in:
Daniel Poelzleithner 2024-11-27 16:08:55 +01:00 committed by GitHub
commit 5024235cd9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,11 +89,11 @@ add_custom_command( OUTPUT defaults.out
) )
# the manpage # the manpage
add_custom_target( manpage add_custom_target( manpage ALL
COMMAND ${CMAKE_COMMAND} -E echo "Updating the manpage" COMMAND ${CMAKE_COMMAND} -E echo "Updating the manpage"
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/man COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/man
COMMAND a2x --format=manpage ${PROJECT_SOURCE_DIR}/docs/manpage/lsyncd.1.txt -D ${CMAKE_CURRENT_BINARY_DIR}/man COMMAND a2x --format=manpage ${PROJECT_SOURCE_DIR}/docs/manpage/lsyncd.1.txt -D ${CMAKE_CURRENT_BINARY_DIR}/man
DEPENDS docs/manpage/lsyncd.1.txt DEPENDS ${CMAKE_SOURCE_DIR}/docs/manpage/lsyncd.1.txt
) )
# the html documention # the html documention