File: rules

package info (click to toggle)
golang-github-prometheus-procfs 0.8.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports, bookworm-proposed-updates, sid
  • size: 1,972 kB
  • sloc: sh: 348; makefile: 20
file content (15 lines) | stat: -rwxr-xr-x 381 bytes parent folder | download
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 --builddir=build

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

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