From f91335d4cdc4fc9223a8dc29678ee530aa35497f Mon Sep 17 00:00:00 2001 From: dismine Date: Fri, 22 Nov 2013 13:27:46 +0200 Subject: [PATCH] Change in pro file. --HG-- branch : develop --- Valentina.pro | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Valentina.pro b/Valentina.pro index 1eaa3c756..2042c136a 100644 --- a/Valentina.pro +++ b/Valentina.pro @@ -10,8 +10,8 @@ QT += core gui widgets xml svg TEMPLATE = app -DEBUG_TARGET = Valentinad -RELEASE_TARGET = Valentina +DEBUG_TARGET = valentinad +RELEASE_TARGET = valentina CONFIG -= debug_and_release debug_and_release_target CONFIG += c++11 @@ -117,10 +117,11 @@ BINDIR = $$PREFIX/bin DATADIR =$$PREFIX/share DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\" #MAKE INSTALL -target.path = /usr/bin -translations.path = /usr/share/valentina/translations -translations.files = $${DESTDIR}/*.qm -INSTALLS += target translations +target.path = $$BINDIR +translations.path = $$DATADIR/$${TARGET}/translations +translations.files += $${DESTDIR}/*.qm +INSTALLS += target \ + translations } # Remove generated files at cleaning