File: rules

package info (click to toggle)
pmdk-convert 1.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 32,232 kB
  • sloc: ansic: 230,975; sh: 24,405; makefile: 2,808; perl: 1,095; pascal: 1,075; python: 677
file content (14 lines) | stat: -rwxr-xr-x 526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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 1.3 1.4 1.5;do ln -sf nvml/nvml-$$v nvml-$$v;done
	for v in `grep 'set(NVML' CMakeLists.txt |cut -d' ' -f2|tr -d ')'`;do touch nvml-$$v.tar.gz;done
	dh_auto_configure -- -DCMAKE_BUILD_TYPE=RelWithDebInfo -DTESTS_USE_FORCED_PMEM=1

%:
	dh $@