From 272903fc82f072b0472e38a60adb6860f60bda9d Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Fri, 3 Nov 2017 16:16:00 +0100 Subject: Fix the copy command on linux On unix the COPY_DIR command works a little bit different. Only specify the output directory instead of specifying the name as well. Change-Id: Icb4dc430cd1af472099cb0365d2b5bbf18a83cd3 Reviewed-by: Robert Griebl --- copydata.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/copydata.pro b/copydata.pro index 3846cb7..9286fa7 100644 --- a/copydata.pro +++ b/copydata.pro @@ -5,7 +5,8 @@ DIRECTORIES = examples apps imports sysui styles FILES = am-config.yaml am-config-dev.yaml Main.qml for (d , DIRECTORIES) { - do_copydata.commands += $(COPY_DIR) $$shell_path($$PWD/$${d}) $$shell_path($$OUT_PWD/$${d}) $$escape_expand(\n\t) + win32: do_copydata.commands += $(COPY_DIR) $$shell_path($$PWD/$${d}) $$shell_path($$OUT_PWD/$${d}) $$escape_expand(\n\t) + else: do_copydata.commands += $(COPY_DIR) $$shell_path($$PWD/$${d}) $$shell_path($$OUT_PWD) $$escape_expand(\n\t) } for (f , FILES) { do_copydata.commands += $(COPY) $$shell_path($$PWD/$${f}) $$shell_path($$OUT_PWD/$${f}) $$escape_expand(\n\t) -- cgit v1.2.3