Soft prefix.
--HG-- branch : develop
This commit is contained in:
parent
9839b6b331
commit
7960b6e00e
|
@ -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/
|
||||
|
|
|
@ -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++{
|
||||
|
|
|
@ -93,7 +93,10 @@ HEADERS +=\
|
|||
stable.h
|
||||
|
||||
unix {
|
||||
target.path = /usr/lib
|
||||
isEmpty(PREFIX) {
|
||||
PREFIX = /usr/lib
|
||||
}
|
||||
target.path = $$PREFIX/
|
||||
INSTALLS += target
|
||||
|
||||
*-g++{
|
||||
|
|
Loading…
Reference in New Issue
Block a user