File: rules

package info (click to toggle)
pmdk-convert 1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 38,340 kB
  • sloc: ansic: 275,146; sh: 25,641; makefile: 2,871; python: 1,818; pascal: 1,100; perl: 1,100
file content (13 lines) | stat: -rwxr-xr-x 436 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DEB_UPSTREAM_VERSION = $(shell dpkg-parsechangelog -S version | cut -d - -f 1 | cut -d : -f 2)

override_dh_auto_configure:
	for v in 1.0 1.1 1.2.4 1.3.3 1.4.3 1.5.2 1.6.1 1.7;do ln -sf nvml/$$v $$v;done
	dh_auto_configure -- -DCMAKE_BUILD_TYPE=RelWithDebInfo -DTESTS_USE_FORCED_PMEM=1

%:
	dh $@