File: rules

package info (click to toggle)
golang-github-humanlogio-api 0.0~git20250305.fa41d14-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,352 kB
  • sloc: sh: 45; makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 340 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := js/

BUILDDIR := $(CURDIR)/debian/build/src/github.com/humanlogio/api

%:
	dh $@ --builddirectory=debian/build --buildsystem=golang

execute_after_dh_auto_configure:
	rm -rf $(BUILDDIR) && mkdir -p $(BUILDDIR)/go

execute_before_dh_auto_build:
	BUILDDIR=$(BUILDDIR) debian/generate-proto.sh