Codebase list golang-github-dnstap-golang-dnstap / fa10fc6
add manpage Sascha Steinbiss 4 years ago
3 changed file(s) with 18 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
77 Build-Depends:
88 debhelper-compat (= 12),
99 dh-golang,
10 help2man
1011 Build-Depends-Indep:
1112 golang-any,
1213 golang-github-miekg-dns-dev,
00 #!/usr/bin/make -f
1
2 include /usr/share/dpkg/pkg-info.mk
13
24 %:
35 dh $@ --builddirectory=_build --buildsystem=golang --with=golang
46
7 override_dh_auto_clean:
8 rm -f debian/dnstap.1
9 dh_auto_clean
10
11 override_dh_installman:
12 ls -AlR debian
13 help2man --version-string="$(DEB_VERSION_UPSTREAM)" \
14 -n 'dnstap tool' \
15 --no-discard-stderr \
16 -h '-h' \
17 -N \
18 $(CURDIR)/debian/tmp/usr/bin/dnstap > debian/dnstap.1
19 dh_installman
20
521 override_dh_auto_install:
622 find . -name dnstap.sock -delete
723 dh_auto_install