File: rules

package info (click to toggle)
golang-github-prometheus-procfs 0.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, bullseye-backports
  • size: 1,264 kB
  • sloc: sh: 340; makefile: 19
file content (15 lines) | stat: -rwxr-xr-x 368 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE = 1

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

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

execute_after_dh_auto_test:
	rm -rf build/src/github.com/prometheus/procfs/fixtures