diff options
Diffstat (limited to 'languages/ruby')
5 files changed, 35 insertions, 10 deletions
diff --git a/languages/ruby/app_templates/qtruby/CMakeLists.txt b/languages/ruby/app_templates/qtruby/CMakeLists.txt index 4cfb4f08..7aae5ace 100644 --- a/languages/ruby/app_templates/qtruby/CMakeLists.txt +++ b/languages/ruby/app_templates/qtruby/CMakeLists.txt @@ -9,10 +9,15 @@ # ################################################# -add_custom_target( qtruby.tar.gz ALL - COMMAND ${TAR} zcf qtruby.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} +set( _tarball_content app.rb app.kdevelop app-Makefile app.filelist README ) +list( SORT _tarball_content ) + +tde_create_tarball( + TARGET qtruby.tar.gz + FILES ${_tarball_content} +) install( FILES diff --git a/languages/ruby/app_templates/qtruby4app/CMakeLists.txt b/languages/ruby/app_templates/qtruby4app/CMakeLists.txt index b14a737a..88476fe2 100644 --- a/languages/ruby/app_templates/qtruby4app/CMakeLists.txt +++ b/languages/ruby/app_templates/qtruby4app/CMakeLists.txt @@ -9,13 +9,18 @@ # ################################################# -add_custom_target( qtruby4app.tar.gz ALL - COMMAND ${TAR} zcf qtruby4app.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} +set( _tarball_content main.rb qtruby4app.rb qtruby4app.png qtruby4app.kdevelop application.qrc ReadMe filesave.xpm fileopen.xpm filenew.xpm editcopy.xpm editpaste.xpm editcut.xpm app-Makefile app.filelist ) +list( SORT _tarball_content ) + +tde_create_tarball( + TARGET qtruby4app.tar.gz + FILES ${_tarball_content} +) install( FILES 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 diff --git a/languages/ruby/app_templates/rails/CMakeLists.txt b/languages/ruby/app_templates/rails/CMakeLists.txt index 413402c2..db2b2ef9 100644 --- a/languages/ruby/app_templates/rails/CMakeLists.txt +++ b/languages/ruby/app_templates/rails/CMakeLists.txt @@ -9,10 +9,15 @@ # ################################################# -add_custom_target( rails.tar.gz ALL - COMMAND ${TAR} zcf rails.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} +set( _tarball_content app.kdevelop ) +list( SORT _tarball_content ) + +tde_create_tarball( + TARGET rails.tar.gz + FILES ${_tarball_content} +) install( FILES diff --git a/languages/ruby/app_templates/rubyhello/CMakeLists.txt b/languages/ruby/app_templates/rubyhello/CMakeLists.txt index bb42c335..b22f9d58 100644 --- a/languages/ruby/app_templates/rubyhello/CMakeLists.txt +++ b/languages/ruby/app_templates/rubyhello/CMakeLists.txt @@ -9,10 +9,15 @@ # ################################################# -add_custom_target( rubyhello.tar.gz ALL - COMMAND ${TAR} zcf rubyhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} +set( _tarball_content app.rb app.kdevelop ) +list( SORT _tarball_content ) + +tde_create_tarball( + TARGET rubyhello.tar.gz + FILES ${_tarball_content} +) install( FILES |