summaryrefslogtreecommitdiffstats
path: root/cmake/modules/PolkitQt-1Dist.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/PolkitQt-1Dist.cmake')
-rw-r--r--cmake/modules/PolkitQt-1Dist.cmake16
1 files changed, 0 insertions, 16 deletions
diff --git a/cmake/modules/PolkitQt-1Dist.cmake b/cmake/modules/PolkitQt-1Dist.cmake
deleted file mode 100644
index ea23fe5cd..000000000
--- a/cmake/modules/PolkitQt-1Dist.cmake
+++ /dev/null
@@ -1,16 +0,0 @@
-SET(CPACK_PACKAGE_NAME "polkit-tqt-1")
-SET(CPACK_PACKAGE_VERSION_MAJOR "${POLKITTQT-1_VERSION_MAJOR}")
-SET(CPACK_PACKAGE_VERSION_MINOR "${POLKITTQT-1_VERSION_MINOR}")
-SET(CPACK_PACKAGE_VERSION_PATCH "${POLKITTQT-1_VERSION_PATCH}")
-
-set(CPACK_SOURCE_GENERATOR "TBZ2")
-set(CPACK_SOURCE_PACKAGE_FILE_NAME "polkit-tqt-1-${POLKITTQT-1_VERSION_MAJOR}.${POLKITTQT-1_VERSION_MINOR}.${POLKITTQT-1_VERSION_PATCH}")
-set(CPACK_SOURCE_IGNORE_FILES "/\\\\.svn/" "/\\\\.git/" "makechangelog")
-
-set(ARCHIVE_NAME ${CPACK_PACKAGE_NAME}-${POLKITTQT-1_VERSION_STRING})
-add_custom_target(dist
- COMMAND git archive --prefix=${ARCHIVE_NAME}/ HEAD
- | bzip2 > ${CMAKE_BINARY_DIR}/${ARCHIVE_NAME}.tar.bz2
- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
-
-include(CPack) # needs to happen after the above variables are set