File: rules

package info (click to toggle)
golang-procfs 0%2Bgit20161206.fcdb11c-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch, stretch-backports
  • size: 264 kB
  • sloc: makefile: 12
file content (16 lines) | stat: -rwxr-xr-x 365 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

#export DH_VERBOSE = 1

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

override_dh_auto_configure:
	dh_auto_configure
	# Include test fixtures.
	cp -av fixtures _build/src/github.com/prometheus/procfs


override_dh_link:
	# Do nothing, the symlinks in the fixtures directory are just test
	# cases that simulate files in /proc.