Migrating to debhelper version 10.
[debian/menu-cache.git] / debian / rules
CommitLineData
289bffd8 1#!/usr/bin/make -f
289bffd8 2
95f49782
AG
3export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4
edf54914 5DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
289bffd8 6
edf54914 7%:
7d121ffb 8 dh ${@}
289bffd8 9
edf54914 10override_dh_auto_configure:
7d121ffb 11 dh_auto_configure -- --enable-gtk-doc --libexecdir=/usr/lib
289bffd8 12
edf54914
DB
13override_dh_auto_install:
14 dh_auto_install
edf54914 15 rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la
289bffd8 16
edf54914
DB
17override_dh_install:
18 dh_install --fail-missing
dbe286cb 19
56acd1e7
AG
20override_dh_installchangelogs:
21 dh_installchangelogs NEWS
22
dbe286cb 23override_dh_strip:
7d121ffb
AG
24 dh_strip -plibmenu-cache3 --dbgsym-migration='libmenu-cache-dbg (<< 1.1.0-1)'
25 dh_strip -plibmenu-cache-bin --dbgsym-migration='libmenu-cache-bin-dbg (<< 1.1.0-1)'
dd0fc9b2
AG
26
27override_dh_autoreconf_clean:
28 dh_autoreconf_clean
29 rm -f docs/reference/libmenu-cache/libmenu-cache-docs.sgml
30 rm -f docs/reference/libmenu-cache/libmenu-cache-sections.txt