summaryrefslogtreecommitdiffstats
path: root/languages/ruby/app_templates/qtrubyapp/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'languages/ruby/app_templates/qtrubyapp/CMakeLists.txt')
-rw-r--r--languages/ruby/app_templates/qtrubyapp/CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/languages/ruby/app_templates/qtrubyapp/CMakeLists.txt b/languages/ruby/app_templates/qtrubyapp/CMakeLists.txt
index 18fc07c9..8e159b4c 100644
--- a/languages/ruby/app_templates/qtrubyapp/CMakeLists.txt
+++ b/languages/ruby/app_templates/qtrubyapp/CMakeLists.txt
@@ -9,12 +9,17 @@
#
#################################################
-add_custom_target( qtrubyapp.tar.gz ALL
- COMMAND ${TAR} zcf qtrubyapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
+set( _tarball_content
main.rb qtrubyapp.rb qtrubyapp.png qtrubyapp.kdevelop
filesave.xpm fileopen.xpm fileprint.xpm app.filelist
app-Makefile README
)
+list( SORT _tarball_content )
+
+tde_create_tarball(
+ TARGET qtrubyapp.tar.gz
+ FILES ${_tarball_content}
+)
install( FILES