mirror of
https://github.com/vgough/encfs.git
synced 2024-11-24 17:03:13 +01:00
Merge pull request #370 from benrubson/cmakefreebsd
Update FreeBSD man destination
This commit is contained in:
commit
dcc7ff83ed
@ -250,6 +250,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)
|
||||||
@ -259,7 +264,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