mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 19:48:20 +00:00
Source package excludes .git and generate only TGZ
This commit is contained in:
parent
0878e9b8f1
commit
4982c02eba
2 changed files with 2 additions and 1 deletions
|
@ -213,7 +213,7 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# Ignore the build directory
|
# Ignore the build directory
|
||||||
set(CPACK_SOURCE_IGNORE_FILES ${CMAKE_BINARY_DIR})
|
set(CPACK_SOURCE_IGNORE_FILES ${CMAKE_BINARY_DIR} ".git")
|
||||||
|
|
||||||
include(CPack)
|
include(CPack)
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
# CPACK_GENERATOR is set by this module
|
# CPACK_GENERATOR is set by this module
|
||||||
|
|
||||||
set(CPACK_GENERATOR TGZ)
|
set(CPACK_GENERATOR TGZ)
|
||||||
|
set(CPACK_SOURCE_GENERATOR TGZ)
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
list(APPEND CPACK_GENERATOR PackageMaker)
|
list(APPEND CPACK_GENERATOR PackageMaker)
|
||||||
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue