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