From d4ea7467c8ee020f39d429438751d734d042c085 Mon Sep 17 00:00:00 2001 From: dismine Date: Thu, 16 Oct 2014 14:02:58 +0300 Subject: [PATCH] bin directory only for Unix-way installations. --HG-- branch : develop --- src/app/app.pro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/app.pro b/src/app/app.pro index 53d7c64b1..cc56a5642 100644 --- a/src/app/app.pro +++ b/src/app/app.pro @@ -196,7 +196,11 @@ isEmpty(PREFIX) { DATADIR =$$PREFIX/share DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\" #MAKE INSTALL +unix:!macx{ target.path = $$PREFIX/bin +}else{ +target.path = $$PREFIX/ +} desktop.path = $$DATADIR/applications/ desktop.files += ../../dist/$${TARGET}.desktop pixmaps.path = $$DATADIR/pixmaps/