summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-07-20 14:07:26 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-07-20 14:07:26 +0200
commit3fbb9230e021593a66363b97e9da4fd3f3c64c62 (patch)
tree1aa221a39f1700eb8f1968760c21eeb9b171e1c4 /debian/rules
parentd8e43e55d8943382e8823354b8e86dd92468a60a (diff)
parenta348b898dd9ec08507e93a172acfc0b9d824b5ad (diff)
Merge branch 'release/3.28.1-1'3.28.1-1
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