diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-30 01:12:11 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-30 16:00:40 +0200 |
commit | c7d308a9ba6c0ef1639b7b78848a3dd2117fde0a (patch) | |
tree | 3f5ac0754bc7bfdfab203ca0a7144eb808549139 /languages/python | |
parent | fe44776673b28ca94338f23d8e7ac71593fa88ba (diff) | |
download | tdevelop-c7d308a9ba6c0ef1639b7b78848a3dd2117fde0a.tar.gz tdevelop-c7d308a9ba6c0ef1639b7b78848a3dd2117fde0a.zip |
Use tde_create_tarball, which is ready for reproducible builds,
instead of calling 'tar' and requiring GNU extensions.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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 |