File: rules

package info (click to toggle)
containerd 0.2.3+git20170126.85.aa8187d~ds1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 728 kB
  • ctags: 914
  • sloc: sh: 123; makefile: 75
file content (13 lines) | stat: -rwxr-xr-x 426 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

# there's Go code in hack/ but nothing we should test/ship 
export DH_GOLANG_EXCLUDES := github.com/docker/containerd/hack github.com/docker/containerd/integration-test

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

override_dh_auto_build:
	# Regenerate proto files for each build
	(cd obj-$(DEB_HOST_GNU_TYPE)/src/github.com/docker/containerd && \
		make -f ../../../../../Makefile protoc)
	dh_auto_build