File: rules

package info (click to toggle)
golang-github-jacobsa-oglemock 0.0~git20150428-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 292 kB
  • ctags: 345
  • sloc: makefile: 5
file content (15 lines) | stat: -rwxr-xr-x 554 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DH_GOPKG := github.com/jacobsa/oglemock
# TODO(stapelberg): create a manpage for createmock(1) and include it if other
# packages actually need it.
export DH_GOLANG_EXCLUDES := github.com/jacobsa/oglemock/createmock

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

override_dh_auto_test:
	# TODO(stapelberg): tests are disabled because they require ogletest,
	# which in turn requires oglemock. In the future, maybe use
	# https://wiki.debian.org/DebianBootstrap, so that we can solve this
	# problem by doing two-staged builds.