Migrating to debhelper version 10.
[debian/menu-cache.git] / debian / rules
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
4
5 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
6
7 %:
8         dh ${@}
9
10 override_dh_auto_configure:
11         dh_auto_configure -- --enable-gtk-doc --libexecdir=/usr/lib
12
13 override_dh_auto_install:
14         dh_auto_install
15         rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la
16
17 override_dh_install:
18         dh_install --fail-missing
19
20 override_dh_installchangelogs:
21         dh_installchangelogs NEWS
22
23 override_dh_strip:
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)'
26
27 override_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