File: rules

package info (click to toggle)
golang-procfs 0%2Bgit20181204.1dc9a6c-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, buster-backports, buster-backports-sloppy
  • size: 504 kB
  • sloc: sh: 317; makefile: 20
file content (14 lines) | stat: -rwxr-xr-x 349 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

#export DH_VERBOSE = 1

%:
	dh $@ --buildsystem=golang --with=golang --builddir=build

override_dh_auto_test:
	# Unpack test fixtures.
	./ttar -C build/src/github.com/prometheus/procfs -x \
            -f fixtures.ttar
	./ttar -C build/src/github.com/prometheus/procfs/sysfs -x \
            -f sysfs/fixtures.ttar
	dh_auto_test