File: rules

package info (click to toggle)
golang-github-socketplane-libovsdb 0.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,468 kB
  • sloc: makefile: 59; sh: 27
file content (21 lines) | stat: -rwxr-xr-x 399 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := example modelgen test/ovs

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

override_dh_auto_clean:
	dh_auto_clean
	if [ -d .example ] ; then mv .example example ; fi

override_dh_auto_configure:
	mv example .example
	dh_auto_configure

override_dh_auto_test:
	dh_auto_test -- -short

override_dh_auto_install:
	dh_auto_install
	rm -rf debian/*/usr/bin