| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_GOLANG_INSTALL_EXTRA := $(wildcard */go.mod) |
| 4 | export DH_GOLANG_GO_GENERATE := 1 |
| 5 | |
| 6 | %: |
| 7 | dh $@ --builddirectory=_build --buildsystem=golang --with=golang |
| 8 | |
| 9 | execute_after_dh_auto_install: |
| 10 | find debian/ -type f -name enumgen -delete |
| 11 | find debian/ -type d -empty -delete |