From 4d7a2f4b463fbdf0cf4736f2f636c5672bd972a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 30 Jul 2020 01:12:11 +0200 Subject: Use tde_create_tarball, which is ready for reproducible builds, instead of calling 'tar' and requiring GNU extensions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit c7d308a9ba6c0ef1639b7b78848a3dd2117fde0a) --- languages/cpp/app_templates/gtk2mmapp/CMakeLists.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'languages/cpp/app_templates/gtk2mmapp') diff --git a/languages/cpp/app_templates/gtk2mmapp/CMakeLists.txt b/languages/cpp/app_templates/gtk2mmapp/CMakeLists.txt index 26031c85..0a78898d 100644 --- a/languages/cpp/app_templates/gtk2mmapp/CMakeLists.txt +++ b/languages/cpp/app_templates/gtk2mmapp/CMakeLists.txt @@ -9,14 +9,19 @@ # ################################################# -add_custom_target( gtk2mmapp.tar.gz ALL - COMMAND ${TAR} zcf gtk2mmapp.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR} +set( _tarball_content acconfig.h autogen.sh gtk2mm.glade main_window.cc main_window_glade.hh Makefile.am app-Makefile.am configure.in gtk2mm.gladep main_window.hh app.kdevelop gtk2mm.cc main_window_glade.cc src-Makefile.am config.h gtk2mmapp.png ) +list( SORT _tarball_content ) + +tde_create_tarball( + TARGET gtk2mmapp.tar.gz + FILES ${_tarball_content} +) install( FILES -- cgit v1.2.1