| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# exclude verifier/graph.go as long as github.com/zmap/zcertificate is |
| 4 |
# not available in the repos |
| 5 |
# https://lists.debian.org/debian-go/2021/06/msg00064.html |
| 6 |
export DH_GOLANG_EXCLUDES := verifier |
| 7 |
export DH_VERBOSE := 1 |
| 8 |
|
| 9 |
%: |
| 10 |
dh $@ --builddirectory=_build --buildsystem=golang --with=golang |
| 11 |
|
| 12 |
override_dh_auto_test: |
| 13 |
|
| 14 |
override_dh_auto_install: |
| 15 |
dh_auto_install -- --no-binaries |
| 16 |
find debian/golang-github-zmap-zcrypto-dev/usr/share/gocode/src/github.com/zmap/zcrypto/ct/asn1/ \ |
| 17 |
-type f -exec chmod -x {} \; |