summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-07-16 09:17:54 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-07-16 09:17:54 +0200
commit77bbfc7cd50b88513ced3f09eb57357e335c091b (patch)
treed0e6fab7b5bb59dff4ccd38338a3ce4f648283ed /debian/rules
parent2bcf1210ed7af79543d72514e95657bc2ca07c4e (diff)
Some buildsystem changes
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules15
1 files changed, 14 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 0112413..a5b6d0e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,6 +25,11 @@
# - switch to meson
# - remove override_dh_strip
#
+# 2018-07-16 Jörg Frings-Fürst <debian@jff.email>
+#
+# - use gnome and override_dh_translation.
+#
+
#
# Hardening
@@ -32,10 +37,18 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
- dh $@ --buildsystem=meson --with=scour
+ dh $@ --buildsystem=meson --with gnome,scour
override_dh_installdocs:
dh_installdocs --link-doc=simple-scan
override_dh_installchangelogs:
dh_installchangelogs NEWS
+
+override_dh_gnome_clean:
+ dh_gnome_clean --no-control
+
+# Work around Ubuntu translations issue
+override_dh_translations:
+ ninja -C obj-$(DEB_HOST_GNU_TYPE) simple-scan-pot
+ dh_translations