summaryrefslogtreecommitdiffstats
path: root/languages/fortran/app_templates
diff options
context:
space:
mode:
Diffstat (limited to 'languages/fortran/app_templates')
-rw-r--r--languages/fortran/app_templates/fortranhello/CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/languages/fortran/app_templates/fortranhello/CMakeLists.txt b/languages/fortran/app_templates/fortranhello/CMakeLists.txt
index 2ad47178..def9ddf3 100644
--- a/languages/fortran/app_templates/fortranhello/CMakeLists.txt
+++ b/languages/fortran/app_templates/fortranhello/CMakeLists.txt
@@ -9,12 +9,17 @@
#
#################################################
-add_custom_target( fortranhello.tar.gz ALL
- COMMAND ${TAR} zcf fortranhello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
+set( _tarball_content
main.f src-Makefile.am fortran-Makefile.am
fortran-Makefile.cvs configure.in fortranhello.png
app.kdevelop
)
+list( SORT _tarball_content )
+
+tde_create_tarball(
+ TARGET fortranhello.tar.gz
+ FILES ${_tarball_content}
+)
install( FILES