File: rules

package info (click to toggle)
luksmeta 9-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 1,636 kB
  • sloc: sh: 4,410; ansic: 1,804; makefile: 88
file content (24 lines) | stat: -rwxr-xr-x 438 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
#!/usr/bin/make -f

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

%:
	dh $@

# the test target must be called as "check"
override_dh_auto_test:
ifeq (, $(findstring nocheck, $(DEB_BUILD_OPTIONS)))
	$(MAKE) check
endif


override_dh_missing:
	dh_missing --fail-missing

override_dh_auto_install:
	dh_auto_install

	# Remove useless files
	rm -f debian/tmp/usr/lib/*/*.la