Author: Manas Date: 2022-03-02T13:12:08+01:00 New Revision: 3ca1098557091247524acef9a3759379ba7a3e59
URL: https://github.com/llvm/llvm-project/commit/3ca1098557091247524acef9a3759379ba7a3e59 DIFF: https://github.com/llvm/llvm-project/commit/3ca1098557091247524acef9a3759379ba7a3e59.diff LOG: [clang][scan-build] Change mode of installation for scan-build.1 Currently, manpage for scan-build is installed as a program, with permission of 755. This patch makes installation of scan-build.1 as file, with 644 permission. Patch by Manas. Reviewed By: steakhal Differential Revision: https://reviews.llvm.org/D120646 Added: Modified: clang/tools/scan-build/CMakeLists.txt Removed: ################################################################################ diff --git a/clang/tools/scan-build/CMakeLists.txt b/clang/tools/scan-build/CMakeLists.txt index 4a578b4c6f3ed..ef687b0e90a17 100644 --- a/clang/tools/scan-build/CMakeLists.txt +++ b/clang/tools/scan-build/CMakeLists.txt @@ -74,7 +74,7 @@ if(CLANG_INSTALL_SCANBUILD) "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_MANDIR}/man1/" DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/man/${ManPage}) list(APPEND Depends "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_MANDIR}/man1/${ManPage}") - install(PROGRAMS man/${ManPage} + install(FILES man/${ManPage} DESTINATION "${CMAKE_INSTALL_MANDIR}/man1" COMPONENT scan-build) endforeach() _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits