Soft prefix.
--HG-- branch : develop
This commit is contained in:
parent
9839b6b331
commit
7960b6e00e
|
@ -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/
|
||||||
|
|
|
@ -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++{
|
||||||
|
|
|
@ -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++{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user