| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# We want to ship only the library packages themselves, not the accompanying |
| 4 |
# example and test binaries. Also exclude the experimental scrape package |
| 5 |
# (go-github version is not kept up-to-date) and update-urls (failing tests, |
| 6 |
# see https://github.com/google/go-github/issues/2056). |
| 7 |
export DH_GOLANG_EXCLUDES := example test tools scrape update-urls |
| 8 |
|
| 9 |
%: |
| 10 |
dh $@ --builddirectory=_build --buildsystem=golang |
| 11 |
|
| 12 |
override_dh_auto_install: |
| 13 |
dh_auto_install -- --no-binaries |