diff options
Diffstat (limited to 'lumina-fm/lumina-fm.pro')
-rw-r--r-- | lumina-fm/lumina-fm.pro | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lumina-fm/lumina-fm.pro b/lumina-fm/lumina-fm.pro index afe46993..a192d3d7 100644 --- a/lumina-fm/lumina-fm.pro +++ b/lumina-fm/lumina-fm.pro @@ -2,7 +2,10 @@ QT += core gui phonon TARGET = lumina-fm -target.path = /usr/local/bin +isEmpty(PREFIX) { + PREFIX = /usr/local +} +target.path = $$PREFIX/bin TEMPLATE = app @@ -22,9 +25,9 @@ FORMS += MainUI.ui \ # RESOURCES+= lumina-fm.qrc -INCLUDEPATH += ../libLumina /usr/local/include +INCLUDEPATH += ../libLumina $$PREFIX/include - LIBS += -L../libLumina -lLuminaUtils + LIBS += -L../libLumina -lLuminaUtils freebsd-* { LIBS += -lQtSolutions_SingleApplication-head } @@ -101,10 +104,10 @@ TRANSLATIONS = i18n/lumina-fm_af.ts \ i18n/lumina-fm_zh_TW.ts \ i18n/lumina-fm_zu.ts -dotrans.path=/usr/local/share/Lumina-DE/i18n/ -dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/ +dotrans.path=$$PREFIX/share/Lumina-DE/i18n/ +dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$$PREFIX/share/Lumina-DE/i18n/ desktop.files=lumina-fm.desktop -desktop.path=/usr/local/share/applications/ +desktop.path=$$PREFIX/share/applications/ INSTALLS += target dotrans desktop |