Fix RPM generation
CPack generated RPM failed to install due to the RPM owning directories owned by filesystem packages. Exclude mandir directories from CPack. Resolves https://github.com/htacg/tidy-html5/issues/364
This commit is contained in:
parent
0f3cab930a
commit
593e1df6ec
|
@ -395,6 +395,9 @@ set(CPACK_DEBIAN_PACKAGE_HOMEPAGE "http://www.html-tidy.org/")
|
||||||
#set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc")
|
#set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc")
|
||||||
set(CPACK_DEBIAN_PACKAGE_SECTION "Libraries")
|
set(CPACK_DEBIAN_PACKAGE_SECTION "Libraries")
|
||||||
|
|
||||||
|
## RPM config
|
||||||
|
set(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/share/man" "/usr/share/man/man1")
|
||||||
|
|
||||||
set(CPACK_SOURCE_IGNORE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/test/;${CMAKE_CURRENT_SOURCE_DIR}/build/;${CMAKE_CURRENT_SOURCE_DIR}/.git/")
|
set(CPACK_SOURCE_IGNORE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/test/;${CMAKE_CURRENT_SOURCE_DIR}/build/;${CMAKE_CURRENT_SOURCE_DIR}/.git/")
|
||||||
|
|
||||||
if (NOT WIN32 AND NOT APPLE)
|
if (NOT WIN32 AND NOT APPLE)
|
||||||
|
|
Loading…
Reference in a new issue