File: rules

package info (click to toggle)
golang-github-google-blueprint 0.0~git20201007.25128be-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,088 kB
  • sloc: sh: 250; makefile: 13
file content (22 lines) | stat: -rwxr-xr-x 582 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
22
#!/usr/bin/make -f

BUILDDIR = _build

%:
	dh $@ --builddirectory=$(BUILDDIR) --buildsystem=golang --with=golang

override_dh_auto_build:
	dh_auto_build
	# go install doesn’t install dangling symlinks and such
	cp -af pathtools/testdata $(BUILDDIR)/src/github.com/google/blueprint/pathtools

override_dh_auto_install:
	dh_auto_install
	# go install doesn’t install dangling symlinks and such
	cp -af pathtools/testdata debian/tmp/usr/share/gocode/src/github.com/google/blueprint/pathtools

override_dh_link:
	dh_link -Xblueprint/pathtools

override_dh_auto_test:
	-dh_auto_test