diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 15 |
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 |