summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index c1df91c..b792da2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,11 @@
export QT_SELECT:=qt5
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+# Export qmake cross wrapper in QMAKE to allow lrelease to work in case of
+# cross-build.
+include /usr/share/dpkg/buildtools.mk
+export QMAKE
+
override_dh_auto_configure:
lrelease ultracopier.pro
lrelease plugins/CopyEngine/Ultracopier-Spec/CopyEngine.pro