File: rules

package info (click to toggle)
golang-github-google-go-github 32.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,040 kB
  • sloc: makefile: 7
file content (13 lines) | stat: -rwxr-xr-x 334 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

# We want to ship only the library packages themselves, not the accompanying
# example and test binaries.
export DH_GOLANG_EXCLUDES := example/ test/
export DH_GOLANG_EXCLUDES_ALL := 1

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

override_dh_auto_install:
	rm -rf obj-$(DEB_TARGET_GNU_TYPE)/bin
	dh_auto_install