Name the tarball how we like it
authorMark Abraham <mark.j.abraham@gmail.com>
Sat, 5 Jul 2014 22:25:11 +0000 (00:25 +0200)
committerRoland Schulz <roland@rschulz.eu>
Wed, 9 Jul 2014 06:33:58 +0000 (08:33 +0200)
This names the tarball and the top-level directory how
GROMACS usually does it. Previously, I'd been renaming
stuff manually.

Change-Id: I485c4a4c711064a3a0ca2343ec696375cbc3de96

CMakeLists.txt

index 85bf5ffd65c662f523d6b97d97b64a4e54fa2dbd..7af2b56040c2e9decb8630276f4ced12097883f0 100644 (file)
@@ -130,7 +130,9 @@ set(build_types_with_explicit_flags RELEASE DEBUG RELWITHDEBUGINFO RELWITHASSERT
 enable_language(C)
 enable_language(CXX)
 
+set(CPACK_PACKAGE_NAME "gromacs")
 set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
+set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
 set(CPACK_PACKAGE_VENDOR "gromacs.org")
 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Gromacs - a toolkit for high-performance molecular simulation")
 set(CPACK_RESOURCE_FILE_WELCOME "${CMAKE_SOURCE_DIR}/admin/InstallWelcome.txt")