diff options
author | Ken Moore <moorekou@gmail.com> | 2014-10-06 07:57:49 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2014-10-06 07:57:49 -0400 |
commit | 9bd9f99eccc775e5fc3c1196c48a404c0c10c5e6 (patch) | |
tree | e031e5e8b0b362a33e5429fda2c18bfd4bbfa32c /lumina-open/lumina-open.pro | |
parent | Add the template for the new LuminaThemes library class (not integrated into ... (diff) | |
parent | update debian/changelog (diff) | |
download | lumina-9bd9f99eccc775e5fc3c1196c48a404c0c10c5e6.tar.gz lumina-9bd9f99eccc775e5fc3c1196c48a404c0c10c5e6.tar.bz2 lumina-9bd9f99eccc775e5fc3c1196c48a404c0c10c5e6.zip |
Merge pull request #14 from Nanolx/master
proper prefix handling
Diffstat (limited to 'lumina-open/lumina-open.pro')
-rw-r--r-- | lumina-open/lumina-open.pro | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lumina-open/lumina-open.pro b/lumina-open/lumina-open.pro index 34e76d54..b70d6b27 100644 --- a/lumina-open/lumina-open.pro +++ b/lumina-open/lumina-open.pro @@ -2,7 +2,10 @@ QT += core gui TARGET = lumina-open -target.path = /usr/local/bin +isEmpty(PREFIX) { + PREFIX = /usr/local +} +target.path = $$PREFIX/bin TEMPLATE = app @@ -15,7 +18,7 @@ FORMS += LFileDialog.ui RESOURCES+= lumina-open.qrc -INCLUDEPATH += ../libLumina /usr/local/include +INCLUDEPATH += ../libLumina $$PREFIX/include LIBS += -L../libLumina -lLuminaUtils QMAKE_LIBDIR = ../libLumina DEPENDPATH += ../libLumina @@ -89,7 +92,7 @@ TRANSLATIONS = i18n/lumina-open_af.ts \ i18n/lumina-open_zh_TW.ts \ i18n/lumina-open_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 |