File: rules

package info (click to toggle)
golang-dbus 3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch, stretch-backports
  • size: 368 kB
  • ctags: 487
  • sloc: sh: 41; makefile: 6
file content (14 lines) | stat: -rwxr-xr-x 369 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DH_GOPKG := github.com/godbus/dbus

override_dh_auto_test:
	# upstream's tests require that dbus be running (surprise, surprise)
	[ ! -S /var/run/dbus/system_bus_socket ] || \
		dh_auto_test -O--buildsystem=golang

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