We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cef4ba commit 36871f0Copy full SHA for 36871f0
CMakeLists.txt
@@ -420,9 +420,9 @@ if(NOT A2X_EXECUTABLE STREQUAL "A2X_EXECUTABLE-NOTFOUND")
420
DEPENDS resources/${MAN_NAME}.adoc
421
COMMENT "(Re-)building manpage ${MAN_NAME}"
422
VERBATIM)
423
- if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+ if(UNIX)
424
add_custom_target(man ALL DEPENDS resources/${MAN_NAME})
425
- install(FILES resources/${MAN_NAME} DESTINATION share/man/man6)
+ install(FILES resources/${MAN_NAME} DESTINATION ${CMAKE_INSTALL_MANDIR}/man6)
426
else()
427
add_custom_target(man DEPENDS resources/${MAN_NAME})
428
endif()
0 commit comments