| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
include /usr/share/dpkg/pkg-info.mk |
| 4 |
|
| 5 |
export DH_GOLANG_GO_GENERATE := 1 |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ --builddirectory=_build --buildsystem=golang --with=golang |
| 9 |
|
| 10 |
override_dh_auto_install: |
| 11 |
dh_auto_install -- --no-source |
| 12 |
|
| 13 |
override_dh_installman: |
| 14 |
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) |
| 15 |
help2man debian/kubernetes-split-yaml/usr/bin/kubernetes-split-yaml \ |
| 16 |
--no-info --no-discard-stderr \ |
| 17 |
--version-string="$(DEB_VERSION_UPSTREAM)" \ |
| 18 |
-n "Split a giant yaml file into one file per Kubernetes resource" > debian/kubernetes-split-yaml.1 |
| 19 |
endif |
| 20 |
dh_installman |