| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_GOLANG_EXCLUDES := js/ |
| 4 | |
| 5 | BUILDDIR := $(CURDIR)/debian/build/src/github.com/humanlogio/api |
| 6 | |
| 7 | %: |
| 8 | dh $@ --builddirectory=debian/build --buildsystem=golang |
| 9 | |
| 10 | execute_after_dh_auto_configure: |
| 11 | rm -rf $(BUILDDIR) && mkdir -p $(BUILDDIR)/go |
| 12 | |
| 13 | execute_before_dh_auto_build: |
| 14 | BUILDDIR=$(BUILDDIR) debian/generate-proto.sh |