Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 include /usr/share/dpkg/pkg-info.mk
3
4 # Uncomment this to enable verbose mode.
5 #export DH_VERBOSE := 1
6
7 BINNAME := $(DEB_SOURCE)
8
9 %:
10 dh $@ --builddirectory=_build --buildsystem=golang
11
12 execute_before_dh_auto_build:
13 # Copy vendored packages
14 cp -a debian/vendor _build/src/$(PKG)/
15
16 execute_after_dh_auto_build:
17 # Rename the binary to match the debian package.
18 mv -v _build/bin/bird_exporter _build/bin/$(BINNAME)
19
20 execute_before_dh_installman:
21 pandoc -s -t man bird_exporter.1.md -o _build/$(BINNAME).1
22
23 override_dh_auto_install:
24 dh_auto_install -- --no-source