File: rules

package info (click to toggle)
golang-github-bugsnag-bugsnag-go 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,208 kB
  • sloc: javascript: 7,970; ruby: 71; sh: 58; makefile: 54
file content (19 lines) | stat: -rwxr-xr-x 558 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

## Don't build examples/revelapp due to FTBFS:
##     src/github.com/bugsnag/bugsnag-go/examples/revelapp/tests/apptest.go:6: undefined: revel.TestSuite
DH_GOLANG_EXCLUDES = examples/revelapp

## Don't build examples/http binary:
DH_GOLANG_EXCLUDES += examples/http

export DH_GOLANG_EXCLUDES

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

execute_after_dh_auto_configure:
	cp -av $(CURDIR)/debian/go/src _build/src/github.com/bugsnag/bugsnag-go/vendor

override_dh_auto_install:
	dh_auto_install -- --no-binaries