File: rules

package info (click to toggle)
golang-github-containerd-accelerated-container-image 1.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,500 kB
  • sloc: sh: 351; python: 59; makefile: 30
file content (14 lines) | stat: -rwxr-xr-x 558 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

%:
	dh $@ --builddirectory=debian/_build --buildsystem=golang

# this hack works around cyclic dependencies between these two packages.
# zdfs is tiny, and easy to ship here
execute_after_dh_auto_configure:
	mkdir -pv debian/_build/src/github.com/data-accelerator/zdfs
	cp -v debian/zdfs/* debian/_build/src/github.com/data-accelerator/zdfs

execute_after_dh_auto_install:
	mkdir -pv debian/tmp/usr/share/gocode/src/github.com/data-accelerator/zdfs
	cp -v debian/zdfs/*.go debian/tmp/usr/share/gocode/src/github.com/data-accelerator/zdfs