File: rules

package info (click to toggle)
menu-cache 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,832 kB
  • sloc: sh: 11,252; ansic: 5,009; makefile: 153
file content (30 lines) | stat: -rwxr-xr-x 807 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
	dh ${@}

override_dh_auto_configure:
	dh_auto_configure -- --enable-gtk-doc --libexecdir=/usr/lib

override_dh_auto_install:
	dh_auto_install
	rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la

override_dh_install:
	dh_install --fail-missing

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_strip:
	dh_strip -plibmenu-cache3 --dbgsym-migration='libmenu-cache-dbg (<< 1.1.0-1)'
	dh_strip -plibmenu-cache-bin --dbgsym-migration='libmenu-cache-bin-dbg (<< 1.1.0-1)'

override_dh_autoreconf_clean:
	dh_autoreconf_clean
	rm -f docs/reference/libmenu-cache/libmenu-cache-docs.sgml
	rm -f docs/reference/libmenu-cache/libmenu-cache-sections.txt