File: rules

package info (click to toggle)
golang-github-google-go-github 48.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,800 kB
  • sloc: makefile: 5
file content (13 lines) | stat: -rwxr-xr-x 497 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.  Also exclude the experimental scrape package
# (go-github version is not kept up-to-date) and update-urls (failing tests,
# see https://github.com/google/go-github/issues/2056).
export DH_GOLANG_EXCLUDES := example test scrape update-urls

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

override_dh_auto_install:
	dh_auto_install -- --no-binaries