From 26822fa7e0bd2154f7c21ea2ef513d1ded75cf18 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Wed, 26 Feb 2020 16:39:15 +0200 Subject: [PATCH] avoid packaging tidyall.d+txz only --- fortune-mod/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fortune-mod/CMakeLists.txt b/fortune-mod/CMakeLists.txt index 48a2af0..f77bae5 100644 --- a/fortune-mod/CMakeLists.txt +++ b/fortune-mod/CMakeLists.txt @@ -28,12 +28,14 @@ SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING.txt") SET(CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_DESCRIPTION_SUMMARY} ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}") +SET(CPACK_SOURCE_GENERATOR "TXZ") SET (base_with_ver "fortune-mod-[0-9]+\\\\.[0-9]+\\\\.[0-9]+") SET(CPACK_SOURCE_IGNORE_FILES "/.deps/" "/\\\\.git/" + "/\\\\.tidyall\\\\.d/" "~$" "\\\\.pyc$" "/tags$" -- 2.40.0