diff options
Diffstat (limited to 'lumina-config/lumina-config.pro')
-rw-r--r-- | lumina-config/lumina-config.pro | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lumina-config/lumina-config.pro b/lumina-config/lumina-config.pro index 01203a36..ae063bed 100644 --- a/lumina-config/lumina-config.pro +++ b/lumina-config/lumina-config.pro @@ -2,7 +2,10 @@ QT += core gui TARGET = lumina-config -target.path = /usr/local/bin +isEmpty(PREFIX) { + PREFIX = /usr/local +} +target.path = $$PREFIX/bin TEMPLATE = app @@ -22,7 +25,7 @@ FORMS += mainUI.ui \ # RESOURCES+= lumina-config.qrc -INCLUDEPATH += ../libLumina /usr/local/include +INCLUDEPATH += ../libLumina $$PREFIX/include LIBS += -L../libLumina -lLuminaUtils freebsd-* { @@ -104,7 +107,7 @@ TRANSLATIONS = i18n/lumina-config_af.ts \ i18n/lumina-config_zh_TW.ts \ i18n/lumina-config_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/ INSTALLS += target dotrans |