debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | # Remove the version package, to avoid circular dependency. These are copied |
| 4 | # later using dh_install. |
| 5 | export DH_GOLANG_EXCLUDES := github.com/prometheus/common/version |
| 6 | export DH_GOLANG_EXCLUDES_ALL := 0 |
| 7 | |
| 8 | %: |
| 9 | dh $@ --buildsystem=golang |
| 10 | |
| 11 | override_dh_strip_nondeterminism: |
| 12 | # Prevent modification of upstream testdata gzipped files, etc., which |
| 13 | # could otherwise cause autopkgtest failures. |
| 14 | dh_strip_nondeterminism --exclude=/assets/testdata/ |