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) { isEmpty(PREFIX) {
PREFIX = /usr PREFIX = /usr
} }
BINDIR = $$PREFIX/bin
DATADIR =$$PREFIX/share DATADIR =$$PREFIX/share
DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\" DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
#MAKE INSTALL #MAKE INSTALL
target.path = $$BINDIR target.path = $$PREFIX/
desktop.path = $$DATADIR/applications/ desktop.path = $$DATADIR/applications/
desktop.files += ../../dist/$${TARGET}.desktop desktop.files += ../../dist/$${TARGET}.desktop
pixmaps.path = $$DATADIR/pixmaps/ pixmaps.path = $$DATADIR/pixmaps/

View File

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

View File

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