summaryrefslogtreecommitdiffstats
path: root/languages/java/app_templates/javahello/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'languages/java/app_templates/javahello/CMakeLists.txt')
-rw-r--r--languages/java/app_templates/javahello/CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/languages/java/app_templates/javahello/CMakeLists.txt b/languages/java/app_templates/javahello/CMakeLists.txt
index ed845127..74f6f4b3 100644
--- a/languages/java/app_templates/javahello/CMakeLists.txt
+++ b/languages/java/app_templates/javahello/CMakeLists.txt
@@ -9,10 +9,15 @@
#
#################################################
-add_custom_target( javahello.tar.gz ALL
- COMMAND ${TAR} zcf javahello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
+set( _tarball_content
Main.java build.xml javahello.filelist javahello.kdevelop
)
+list( SORT _tarball_content )
+
+tde_create_tarball(
+ TARGET javahello.tar.gz
+ FILES ${_tarball_content}
+)
install( FILES