File: rules

package info (click to toggle)
golang-github-andreykaipov-goobs 0.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,228 kB
  • sloc: makefile: 32
file content (15 lines) | stat: -rwxr-xr-x 362 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@ --builddirectory=_build --buildsystem=golang --with=golang

override_dh_auto_build:
	dh_auto_build
	sed -i "s/^\(var version =\).\+$$/\1 \"$(DEB_VERSION)\"/g" _build/src/github.com/andreykaipov/goobs/client.go

override_dh_auto_install:
	dh_auto_install -- --no-binaries

override_dh_auto_test: