File: rules

package info (click to toggle)
golang-github-lucasb-eyer-go-colorful 1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, buster-backports
  • size: 796 kB
  • sloc: makefile: 10
file content (19 lines) | stat: -rwxr-xr-x 490 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := doc

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

override_dh_auto_test:
	# The default timeout for tests is 10m, which is not enough for
	# slower or overloaded machines. Let's increase it to one hour.
	dh_auto_test -- -timeout 1h

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/lucasb-eyer/go-colorful/$$pkg;\
	    done