aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
blob: 19ce1e84f5e2261ec70cc1ae576743b70a74ec58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/utils.mk

#DEB_MAKE_CHECK_TARGET = check

# Remove .a and .la files from /lib/security
remove-cruft::
	find $(DEB_DESTDIR)/lib/security -type f \
	        \( -name '*.a' -o -name '*.la' \) \
	            -exec rm '{}' +

common-install-indep:: remove-cruft
common-install-arch:: remove-cruft
common-binary-post-install-arch:: list-missing