File: rules

package info (click to toggle)
golang-github-couchbase-moss 0.0~git20170914.0.07c86e8-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 664 kB
  • sloc: python: 230; makefile: 37
file content (14 lines) | stat: -rwxr-xr-x 415 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

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

override_dh_auto_install:
	dh_auto_install
	# Remove profiling output because it is not reproducible (reprobuild)
	find debian/ -type f \( -name '*.memprof' -or -name '*.pprof' \) -delete
	# Currently, only building a library package
	$(RM) -r $(CURDIR)/debian/$(shell dh_listpackages)/usr/bin

# Tests fail on non-amd64 arch
override_dh_auto_test: