1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
export DH_GOLANG_INSTALL_EXTRA := generate_mocks pkg/config/test-fixtures/deprecated-keys-config.yaml pkg/config/test-fixtures/example.yaml
export DH_GOLANG_GO_GENERATE := 1
%:
dh $@ --builddirectory=_build --buildsystem=golang --with=golang
override_dh_auto_install:
dh_auto_install -- --no-source
override_dh_installman:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
help2man debian/aws-nuke/usr/bin/aws-nuke \
--no-info --no-discard-stderr \
--version-string="$(DEB_VERSION_UPSTREAM)" \
-n "Delete a whole AWS account and all resources" > debian/aws-nuke.1
endif
dh_installman
|