Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
b2428335
Commit
b2428335
authored
Oct 04, 2011
by
Tristan Matthews
Browse files
* #7091: add make dist target to KDE client
parent
642bb4af
Changes
1
Hide whitespace changes
Inline
Side-by-side
kde/CMakeLists.txt
View file @
b2428335
...
...
@@ -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
}
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment