From fde603d88778e8836edc568bc227998cc1d2e881 Mon Sep 17 00:00:00 2001
From: con <qtc-committer@nokia.com>
Date: Tue, 9 Jun 2009 11:55:00 +0200
Subject: [PATCH] Install data files to right location (Mac).

Reviewed-by: Oswald Buddenhagen
---
 share/qtcreator/static.pro                    | 3 +--
 share/qtcreator/translations/translations.pro | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/share/qtcreator/static.pro b/share/qtcreator/static.pro
index 009d712ee3c..40ce205ff88 100644
--- a/share/qtcreator/static.pro
+++ b/share/qtcreator/static.pro
@@ -37,9 +37,8 @@ DATA_DIRS = \
         FILES += $$files
     }
 
-    copy2build.target = $$IDE_DATA_PATH
     copy2build.input = FILES
-    copy2build.output = ${QMAKE_FUNC_FILE_IN_stripSrcDir}
+    copy2build.output = $$IDE_DATA_PATH/${QMAKE_FUNC_FILE_IN_stripSrcDir}
     isEmpty(vcproj):copy2build.variable_out = PRE_TARGETDEPS
     copy2build.commands = $$QMAKE_COPY \"${QMAKE_FILE_IN}\" \"${QMAKE_FILE_OUT}\"
     copy2build.name = COPY ${QMAKE_FILE_IN}
diff --git a/share/qtcreator/translations/translations.pro b/share/qtcreator/translations/translations.pro
index 63c968332b7..6fda4f73fd7 100644
--- a/share/qtcreator/translations/translations.pro
+++ b/share/qtcreator/translations/translations.pro
@@ -23,9 +23,8 @@ CONFIG -= qt
 QT =
 LIBS =
 
-updateqm.target = $$IDE_DATA_PATH/translations
 updateqm.input = TS_FILES
-updateqm.output = ${QMAKE_FILE_BASE}.qm
+updateqm.output = $$IDE_DATA_PATH/translations/${QMAKE_FILE_BASE}.qm
 isEmpty(vcproj):updateqm.variable_out = PRE_TARGETDEPS
 updateqm.commands = $$LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_OUT}
 updateqm.name = LRELEASE ${QMAKE_FILE_IN}
-- 
GitLab