File: rules

package info (click to toggle)
nvme-cli 1.12-5
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 4,992 kB
  • sloc: ansic: 28,527; python: 740; sh: 479; makefile: 419; ruby: 25
file content (18 lines) | stat: -rwxr-xr-x 524 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_install:
	dh_auto_install -- PREFIX=/usr UDEVDIR=/lib/udev
	# Remove build-time unique id files, instead these will be
	# generated by the postinst script
	rm -f debian/nvme-cli/etc/nvme/hostid
	rm -f debian/nvme-cli/etc/nvme/hostnqn
	rm -f debian/nvme-cli/usr/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf

override_dh_auto_test:
	# Overriding auto test, since the tests require that the build machine
	# has a NVME device.