aboutsummaryrefslogtreecommitdiff
path: root/lumina-open/lumina-open.pro
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2014-09-14 08:56:36 -0400
committerKen Moore <moorekou@gmail.com>2014-09-14 08:56:36 -0400
commit97a31dc646c99e2af6b89f9f9b6accb1162d8481 (patch)
tree2143b74e173ec70ad024390930f5f79bb649174c /lumina-open/lumina-open.pro
parentMerge pull request #7 from ajacoutot/openbsd (diff)
parentFix path to lrelease on OpenBSD. (diff)
downloadlumina-97a31dc646c99e2af6b89f9f9b6accb1162d8481.tar.gz
lumina-97a31dc646c99e2af6b89f9f9b6accb1162d8481.tar.bz2
lumina-97a31dc646c99e2af6b89f9f9b6accb1162d8481.zip
Merge pull request #8 from ajacoutot/openbsd2
Fix path to lrelease on OpenBSD.
Diffstat (limited to 'lumina-open/lumina-open.pro')
-rw-r--r--lumina-open/lumina-open.pro8
1 files changed, 7 insertions, 1 deletions
diff --git a/lumina-open/lumina-open.pro b/lumina-open/lumina-open.pro
index 5dd0e608..34e76d54 100644
--- a/lumina-open/lumina-open.pro
+++ b/lumina-open/lumina-open.pro
@@ -20,6 +20,12 @@ LIBS += -L../libLumina -lLuminaUtils
QMAKE_LIBDIR = ../libLumina
DEPENDPATH += ../libLumina
+openbsd-g++4 {
+ LRELEASE = lrelease4
+} else {
+ LRELEASE = lrelease-qt4
+}
+
TRANSLATIONS = i18n/lumina-open_af.ts \
i18n/lumina-open_ar.ts \
i18n/lumina-open_az.ts \
@@ -84,6 +90,6 @@ TRANSLATIONS = i18n/lumina-open_af.ts \
i18n/lumina-open_zu.ts
dotrans.path=/usr/local/share/Lumina-DE/i18n/
-dotrans.extra=cd i18n && lrelease-qt4 -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/
+dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)/usr/local/share/Lumina-DE/i18n/
INSTALLS += target dotrans
bgstack15