Soft prefix.

--HG--
branch : develop
This commit is contained in:
dismine 2014-10-15 19:56:14 +03:00
parent 9839b6b331
commit 7960b6e00e
3 changed files with 9 additions and 4 deletions

View file

@ -193,11 +193,10 @@ unix {
isEmpty(PREFIX) {
PREFIX = /usr
}
BINDIR = $$PREFIX/bin
DATADIR =$$PREFIX/share
DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
#MAKE INSTALL
target.path = $$BINDIR
target.path = $$PREFIX/
desktop.path = $$DATADIR/applications/
desktop.files += ../../dist/$${TARGET}.desktop
pixmaps.path = $$DATADIR/pixmaps/

View file

@ -50,7 +50,10 @@ HEADERS += \
VERSION = 2.2.4
unix {
target.path = /usr/lib
isEmpty(PREFIX) {
PREFIX = /usr/lib
}
target.path = $$PREFIX/
INSTALLS += target
*-g++{

View file

@ -93,7 +93,10 @@ HEADERS +=\
stable.h
unix {
target.path = /usr/lib
isEmpty(PREFIX) {
PREFIX = /usr/lib
}
target.path = $$PREFIX/
INSTALLS += target
*-g++{