diff options
Diffstat (limited to 'languages/python')
-rw-r--r-- | languages/python/app_templates/pyqt/CMakeLists.txt | 9 | ||||
-rw-r--r-- | languages/python/app_templates/pythonhello/CMakeLists.txt | 9 | ||||
-rw-r--r-- | languages/python/app_templates/pytk/CMakeLists.txt | 9 |
3 files changed, 21 insertions, 6 deletions
diff --git a/languages/python/app_templates/pyqt/CMakeLists.txt b/languages/python/app_templates/pyqt/CMakeLists.txt index df072e5b..c8f349db 100644 --- a/languages/python/app_templates/pyqt/CMakeLists.txt +++ b/languages/python/app_templates/pyqt/CMakeLists.txt @@ -9,14 +9,19 @@ # ################################################# -add_custom_target( pyqt.tar.gz ALL - COMMAND ${TAR} zcf pyqt.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} +set( _tarball_content app.py app.kdevelop fileopen.pyxpm fileprint.pyxpm filesave.pyxpm app-Makefile.am app-autogen.sh app-configure.ac documentdetails.ui missing install-sh mkinstalldirs pyqt-am-preproc.py templates-ui-dialog templates-ui-mainwin pyqt.png ) +list( SORT _tarball_content ) + +tde_create_tarball( + TARGET pyqt.tar.gz + FILES ${_tarball_content} +) install( FILES diff --git a/languages/python/app_templates/pythonhello/CMakeLists.txt b/languages/python/app_templates/pythonhello/CMakeLists.txt index 07b6d4cc..66cf65a2 100644 --- a/languages/python/app_templates/pythonhello/CMakeLists.txt +++ b/languages/python/app_templates/pythonhello/CMakeLists.txt @@ -9,10 +9,15 @@ # ################################################# -add_custom_target( pythonhello.tar.gz ALL - COMMAND ${TAR} zcf pythonhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} +set( _tarball_content app.py app.kdevelop pythonhello.png ) +list( SORT _tarball_content ) + +tde_create_tarball( + TARGET pythonhello.tar.gz + FILES ${_tarball_content} +) install( FILES diff --git a/languages/python/app_templates/pytk/CMakeLists.txt b/languages/python/app_templates/pytk/CMakeLists.txt index 8a0be77b..4cc099a0 100644 --- a/languages/python/app_templates/pytk/CMakeLists.txt +++ b/languages/python/app_templates/pytk/CMakeLists.txt @@ -9,10 +9,15 @@ # ################################################# -add_custom_target( pytk.tar.gz ALL - COMMAND ${TAR} zcf pytk.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} +set( _tarball_content app.py app.kdevelop pytk.png ) +list( SORT _tarball_content ) + +tde_create_tarball( + TARGET pytk.tar.gz + FILES ${_tarball_content} +) install( FILES |