File: rules

package info (click to toggle)
criu 3.17.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,520 kB
  • sloc: ansic: 127,259; python: 6,624; sh: 3,394; java: 2,799; makefile: 2,352; asm: 999; xml: 117; perl: 103; exp: 45
file content (20 lines) | stat: -rwxr-xr-x 568 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

PACKAGE = $(firstword $(shell dh_listpackages))
TMP     = $(CURDIR)/debian/$(PACKAGE)

%:
	dh ${@} --with python3

override_dh_auto_install:
	dh_auto_install -- DESTDIR="$(CURDIR)/debian/criu" PREFIX="/usr" LIBEXECDIR="/usr/lib" PYTHON="python3"
	# Remove amdgpu_plugin manpage until we really provide the plugin
	$(RM) --verbose $(TMP)/usr/share/man/man1/amdgpu_plugin.1.gz

override_dh_auto_test:
	# disabled: doesn't work yet

override_dh_strip:
	dh_strip --ddeb-migration='criu-dbg (<< 1.8-2~)'