File: rules

package info (click to toggle)
golang-github-magiconair-properties 1.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch, stretch-backports
  • size: 440 kB
  • sloc: makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 416 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := github.com/magiconair/properties/_third_party

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

override_dh_auto_install:
	dh_auto_install -O--buildsystem=golang
	rm -rf debian/golang-github-magiconair-properties-dev/usr/share/gocode/src/$(DH_GOLANG_EXCLUDES)

override_dh_auto_test:
## https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830727
	USER=nobody dh_auto_test