Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/pkg-info.mk
4
5 %:
6 dh $@ --builddirectory=_build --buildsystem=golang
7
8 override_dh_auto_install:
9 dh_auto_install -- --no-source
10
11 execute_before_dh_installman:
12 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
13 help2man debian/hey/usr/bin/hey \
14 --no-info --no-discard-stderr \
15 --version-string="$(DEB_VERSION_UPSTREAM)" \
16 -n "HTTP load generator, formerly known as rakyll/boom" > debian/hey.1
17 sed -i '/^(default for current machine is .* cores)$$/d' debian/hey.1
18 endif