| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | # Uncomment this to turn on verbose mode. |
| 5 | #export DH_VERBOSE=1 |
| 6 | |
| 7 | export DH_OPTIONS |
| 8 | export DH_GOLANG_INSTALL_EXTRA := dnscrypt-proxy/static/ |
| 9 | |
| 10 | %: |
| 11 | dh $@ --builddirectory=_build --buildsystem=golang |
| 12 | |
| 13 | execute_after_dh_installsystemd: |
| 14 | dh_installsystemd --name dnscrypt-proxy-resolvconf |
| 15 | |
| 16 | override_dh_auto_install: |
| 17 | dh_auto_install --destdir=debian/tmp |
| 18 | |
| 19 | # Tests may fail on build servers and aren't useful in release builds anyway |
| 20 | override_dh_auto_test: |
| 21 | |
| 22 | # dwz appears to choke on dnscrypt-proxy at the moment |
| 23 | override_dh_dwz: |