diff --git a/CMakeLists.txt b/CMakeLists.txt index 7a2906c73..e0a09e56f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -454,24 +454,22 @@ if(PROJECT_IS_TOP_LEVEL) set(CPACK_PACKAGE_VERSION_MINOR ${GEOS_VERSION_MINOR}) set(CPACK_PACKAGE_VERSION_PATCH ${GEOS_VERSION_PATCH}) set(CPACK_SOURCE_PACKAGE_FILE_NAME "geos-${GEOS_VERSION}") - + set(CPACK_VERBATIM_VARIABLES TRUE) set(CPACK_SOURCE_IGNORE_FILES - "/\\\\.git" - "/autogen\\\\.sh" - "/tools/ci" - "/HOWTO_RELEASE" - "/autom4te\\\\.cache" - "\\\\.yml\$" - "\\\\.deps" - "/debian/" - "/php/" - "/.*build-.*/" - "cmake_install\\\\.cmake\$" - "/include/geos/version\\\\.h\$" - "/tools/geos-config\$" - "/tools/geos\\\\.pc\$" - "/bin/" - "/web/" + /\\..* # any file/directory starting with . + /.*build.*/ + /autogen\\.sh + /autom4te\\.cache + /bin/ + /debian/ + /HOWTO_RELEASE + /include/geos/version\\.h\$ + /php/ + /tools/ci + /tools/geos-config\$ + /tools/geos\\.pc\$ + /web/ + cmake_install\\.cmake\$ ${CMAKE_CURRENT_BINARY_DIR} ) diff --git a/HOWTO_RELEASE b/HOWTO_RELEASE index 8e5b1af62..4df8b2c79 100644 --- a/HOWTO_RELEASE +++ b/HOWTO_RELEASE @@ -30,7 +30,7 @@ $ BRANCH_NAME=main $ git clone --depth 1 --branch $BRANCH_NAME \ - https://git.osgeo.org/gitea/geos/geos.git geos-$BRANCH_NAME + https://github.com/libgeos/geos.git geos-$BRANCH_NAME $ cd geos-$BRANCH_NAME $ mkdir _build && cd _build $ cmake ..