1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
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/kubernetes-split-yaml/usr/bin/kubernetes-split-yaml \
--no-info --no-discard-stderr \
--version-string="$(DEB_VERSION_UPSTREAM)" \
-n "Split a giant yaml file into one file per Kubernetes resource" > debian/kubernetes-split-yaml.1
endif
dh_installman
|