diff options
Diffstat (limited to 'lumina-open')
-rw-r--r-- | lumina-open/lumina-open.pro | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/lumina-open/lumina-open.pro b/lumina-open/lumina-open.pro index f7c409f2..70d4c88f 100644 --- a/lumina-open/lumina-open.pro +++ b/lumina-open/lumina-open.pro @@ -1,17 +1,11 @@ +include("$${PWD}/../OS-detect.pri") QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets x11extras TARGET = lumina-open -isEmpty(PREFIX) { - PREFIX = /usr/local -} -target.path = $$DESTDIR$$PREFIX/bin - -isEmpty(LIBPREFIX) { - LIBPREFIX = $$PREFIX/lib -} +target.path = $$DESTDIR$${L_BINDIR} TEMPLATE = app @@ -24,16 +18,9 @@ FORMS += LFileDialog.ui RESOURCES+= lumina-open.qrc -INCLUDEPATH += ../libLumina $$PREFIX/include -LIBS += -L../libLumina -L$$LIBPREFIX -lLuminaUtils -QMAKE_LIBDIR = ../libLumina -DEPENDPATH += ../libLumina +LIBS += -lLuminaUtils -isEmpty(QT5LIBDIR) { - QT5LIBDIR = $$PREFIX/lib/qt5 -} - -LRELEASE = $$QT5LIBDIR/bin/lrelease +DEPENDPATH += ../libLumina TRANSLATIONS = i18n/lumina-open_af.ts \ @@ -99,8 +86,8 @@ TRANSLATIONS = i18n/lumina-open_af.ts \ i18n/lumina-open_zh_TW.ts \ i18n/lumina-open_zu.ts -dotrans.path=$$PREFIX/share/Lumina-DE/i18n/ -dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$$PREFIX/share/Lumina-DE/i18n/ +dotrans.path=$${L_SHAREDIR}/Lumina-DE/i18n/ +dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/Lumina-DE/i18n/ INSTALLS += target dotrans |