1
0
mirror of https://github.com/altlinux/admc.git synced 2025-01-21 14:03:42 +03:00

update executable permissions

This commit is contained in:
august-alt 2021-06-02 17:45:26 +04:00
parent 06bfaeeade
commit 3ef44e5747
5 changed files with 13 additions and 5 deletions

View File

@ -42,5 +42,6 @@ if (ADMC_BUILD_DEB)
SET(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
SET(CPACK_DEBIAN_PACKAGE_DESCRIPTION "Samba domain management console.")
SET(CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://github.com/altlinux/admc")
set(CPACK_STRIP_FILES "${CMAKE_INSTALL_LIBDIR}/libadldap.so;${CMAKE_INSTALL_BINDIR}/admc")
INCLUDE(CPack)
endif(ADMC_BUILD_DEB)

View File

@ -16,6 +16,9 @@ add_custom_target(doc
install(
FILES ${ADMC_COMPRESSED_HELP}
DESTINATION ${CMAKE_INSTALL_DOCDIR}
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
)
INSTALL(FILES ${PROJECT_SOURCE_DIR}/doc/admc.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1/)
INSTALL(FILES ${PROJECT_SOURCE_DIR}/doc/admc.1
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1/
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)

View File

@ -69,4 +69,5 @@ endif(NOT ADMC_BUILD_DEB)
set_source_files_properties(${TS_FILES} PROPERTIES OUTPUT_LOCATION ${CMAKE_CURRENT_SOURCE_DIR})
qt5_add_translation(QM_FILES ${TS_FILES})
install(TARGETS adldap DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(TARGETS adldap DESTINATION ${CMAKE_INSTALL_LIBDIR}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)

View File

@ -178,7 +178,9 @@ add_custom_target(admc_ts
set_source_files_properties(${TS_FILES} PROPERTIES OUTPUT_LOCATION ${CMAKE_CURRENT_SOURCE_DIR})
qt5_add_translation(QM_FILES ${TS_FILES})
install(TARGETS admc DESTINATION ${CMAKE_INSTALL_BINDIR})
install(TARGETS admc DESTINATION ${CMAKE_INSTALL_BINDIR}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
if(NOT ADMC_BUILD_DEB)
install(TARGETS admctest DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(TARGETS admctest DESTINATION ${CMAKE_INSTALL_LIBDIR}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
endif(NOT ADMC_BUILD_DEB)

View File

@ -53,5 +53,6 @@ foreach(target ${TEST_TARGETS})
${PROJECT_BINARY_DIR}/${target}
)
install(TARGETS ${target} DESTINATION ${CMAKE_INSTALL_BINDIR})
install(TARGETS ${target} DESTINATION ${CMAKE_INSTALL_BINDIR}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
endforeach()