summaryrefslogtreecommitdiffstats
path: root/languages/java/app_templates
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2015-06-29 18:28:40 +0200
committerSlávek Banko <[email protected]>2015-06-29 18:33:40 +0200
commit1fafa273329c2c4be693a85649a51b8f2364e236 (patch)
treee1fd686786e7277af307e1233bb6f0b4538fd706 /languages/java/app_templates
parent59301244a25e29e0b3543b90a1a2dcff33faf48a (diff)
downloadtdevelop-1fafa273329c2c4be693a85649a51b8f2364e236.tar.gz
tdevelop-1fafa273329c2c4be693a85649a51b8f2364e236.zip
Add gnu tar detection
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 9097720c1da8fe553e05e5e7289f8cea4ac76fa2)
Diffstat (limited to 'languages/java/app_templates')
-rw-r--r--languages/java/app_templates/javahello/CMakeLists.txt2
-rw-r--r--languages/java/app_templates/kappjava/CMakeLists.txt2
-rw-r--r--languages/java/app_templates/superwaba/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/languages/java/app_templates/javahello/CMakeLists.txt b/languages/java/app_templates/javahello/CMakeLists.txt
index bbfc746f..f1caa5c0 100644
--- a/languages/java/app_templates/javahello/CMakeLists.txt
+++ b/languages/java/app_templates/javahello/CMakeLists.txt
@@ -10,7 +10,7 @@
#################################################
add_custom_target( javahello.tar.gz ALL
- COMMAND tar zcf javahello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
+ COMMAND ${TAR} zcf javahello.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
Main.java build.xml javahello.filelist javahello.kdevelop
)
diff --git a/languages/java/app_templates/kappjava/CMakeLists.txt b/languages/java/app_templates/kappjava/CMakeLists.txt
index 3b4abe1e..f0e811e4 100644
--- a/languages/java/app_templates/kappjava/CMakeLists.txt
+++ b/languages/java/app_templates/kappjava/CMakeLists.txt
@@ -10,7 +10,7 @@
#################################################
add_custom_target( kappjava.tar.gz ALL
- COMMAND tar zcf kappjava.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
+ COMMAND ${TAR} zcf kappjava.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
app.java pref.java appview.java app_client.java appui.rc
src-Makefile.am kappjava.png app.kdevelop subdirs
)
diff --git a/languages/java/app_templates/superwaba/CMakeLists.txt b/languages/java/app_templates/superwaba/CMakeLists.txt
index 160b1a14..206a3977 100644
--- a/languages/java/app_templates/superwaba/CMakeLists.txt
+++ b/languages/java/app_templates/superwaba/CMakeLists.txt
@@ -10,7 +10,7 @@
#################################################
add_custom_target( superwaba.tar.gz ALL
- COMMAND tar zcf superwaba.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
+ COMMAND ${TAR} zcf superwaba.tar.gz -C ${CMAKE_CURRENT_SOURCE_DIR}
superwaba.png sw.java src-Makefile sw.kdevelop sw.filelist
)