Skip to content
Snippets Groups Projects
Commit b2428335 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #7091: add make dist target to KDE client

parent 642bb4af
Branches
Tags
No related merge requests found
......@@ -30,3 +30,12 @@ add_subdirectory(doc)
add_subdirectory(man)
add_subdirectory(po)
add_subdirectory(plasma)
# make dist target, see:
# https://agateau.wordpress.com/2009/08/09/cmake-and-make-dist-the-simple-version/
set(PROJECT_VERSION "1.0.0")
set(ARCHIVE_NAME ${CMAKE_PROJECT_NAME}-${PROJECT_VERSION})
add_custom_target(dist
COMMAND git archive --prefix=${ARCHIVE_NAME}/ HEAD
| gzip > ${CMAKE_BINARY_DIR}/${ARCHIVE_NAME}.tar.gz
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment