[geos-commits] [SCM] GEOS branch make-dist updated. 5d84a7a935dab30c5609ca5d7a9823071553a1a0

git at osgeo.org git at osgeo.org
Fri Oct 19 15:46:41 PDT 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, make-dist has been updated
       via  5d84a7a935dab30c5609ca5d7a9823071553a1a0 (commit)
      from  a88d1fd5c43f80cd1d7b7b551ebced966f2bba3a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 5d84a7a935dab30c5609ca5d7a9823071553a1a0
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri Oct 19 15:46:28 2018 -0700

    Lowercase the project name for tarball

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d171248..1ac4470 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -339,9 +339,10 @@ add_custom_target(uninstall
 set(CPACK_PACKAGE_VERSION_MAJOR "${VERSION_MAJOR}")
 set(CPACK_PACKAGE_VERSION_MINOR "${VERSION_MINOR}")
 set(CPACK_PACKAGE_VERSION_PATCH "${VERSION_PATCH}")
+string(TOLOWER "${CMAKE_PROJECT_NAME}" CPACK_PACKAGE_NAME)
 set(CPACK_SOURCE_GENERATOR "TBZ2")
 set(CPACK_SOURCE_PACKAGE_FILE_NAME
-  "${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
+  "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
 set(CPACK_SOURCE_IGNORE_FILES
   "/build/;/.git/;/autom4te.cache/;~$;${CPACK_SOURCE_IGNORE_FILES}")
 include(CPack)

-----------------------------------------------------------------------

Summary of changes:
 CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list