mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-10 11:23:52 +00:00
[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
This commit is contained in:
parent
dc48849fcc
commit
3ca1098557
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user