File: rules

package info (click to toggle)
golang-github-golang-leveldb 0.0~git20161231.0.3435554-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, buster-backports, sid
  • size: 1,000 kB
  • sloc: cpp: 166; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 441 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

export DH_GOPKG := github.com/golang/leveldb

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

override_dh_auto_configure:
	dh_auto_configure
	cp -r testdata obj-$(DEB_HOST_MULTIARCH)/src/$(DH_GOPKG)/

# We don't really need to install ldbdump, right?
override_dh_auto_install:
	dh_auto_install
	rm -rf $(CURDIR)/debian/golang-github-golang-leveldb-dev/usr/bin