mirror of
https://github.com/vgough/encfs.git
synced 2024-11-22 07:53:31 +01:00
Update FreeBSD man destination
This commit is contained in:
parent
9e55fd35bd
commit
42566823f8
@ -238,6 +238,11 @@ file (GLOB_RECURSE all_headers ${CMAKE_CURRENT_LIST_DIR}/*.h)
|
|||||||
add_custom_target (all_placeholder SOURCES ${all_headers})
|
add_custom_target (all_placeholder SOURCES ${all_headers})
|
||||||
|
|
||||||
if (POD2MAN)
|
if (POD2MAN)
|
||||||
|
set (MAN_DESTINATION "share/man/man1")
|
||||||
|
if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||||
|
set (MAN_DESTINATION "man/man1")
|
||||||
|
endif()
|
||||||
|
|
||||||
add_custom_target (encfs-man ALL
|
add_custom_target (encfs-man ALL
|
||||||
COMMAND ${POD2MAN} -u --section=1 --release=${ENCFS_VERSION} --center=${ENCFS_NAME}
|
COMMAND ${POD2MAN} -u --section=1 --release=${ENCFS_VERSION} --center=${ENCFS_NAME}
|
||||||
${CMAKE_CURRENT_LIST_DIR}/encfs/encfs.pod encfs.1)
|
${CMAKE_CURRENT_LIST_DIR}/encfs/encfs.pod encfs.1)
|
||||||
@ -247,7 +252,7 @@ if (POD2MAN)
|
|||||||
${CMAKE_CURRENT_LIST_DIR}/encfs/encfsctl.pod encfsctl.1)
|
${CMAKE_CURRENT_LIST_DIR}/encfs/encfsctl.pod encfsctl.1)
|
||||||
|
|
||||||
install (FILES ${CMAKE_BINARY_DIR}/encfs.1 ${CMAKE_BINARY_DIR}/encfsctl.1
|
install (FILES ${CMAKE_BINARY_DIR}/encfs.1 ${CMAKE_BINARY_DIR}/encfsctl.1
|
||||||
DESTINATION share/man/man1)
|
DESTINATION ${MAN_DESTINATION})
|
||||||
endif (POD2MAN)
|
endif (POD2MAN)
|
||||||
|
|
||||||
add_custom_target(tests COMMAND ${CMAKE_CURRENT_LIST_DIR}/test.sh)
|
add_custom_target(tests COMMAND ${CMAKE_CURRENT_LIST_DIR}/test.sh)
|
||||||
|
Loading…
Reference in New Issue
Block a user