File: rules

package info (click to toggle)
golang-github-shibukawa-configdir 0.0~git20170330.e180dbd-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 92 kB
  • sloc: makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 315 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 := example_test.go

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

override_dh_auto_install:
	dh_auto_install

	# Workaround for #904261:
	for pkg in $(DH_GOLANG_EXCLUDES); do \
	    rm -rfv debian/*/usr/share/gocode/src/github.com/shibukawa/configdir/$$pkg;\
	    done