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 --with=golang
7
8 execute_after_dh_auto_configure:
9 mkdir -p _build/src/facette.io
10 ln -s /usr/share/gocode/src/github.com/facette/natsort _build/src/facette.io/natsort
11
12 override_dh_auto_install:
13 dh_auto_install -- --no-source
14
15 execute_before_dh_installman:
16 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
17 help2man debian/kubectx/usr/bin/kubectx \
18 --no-info --no-discard-stderr \
19 --version-string="$(DEB_VERSION)" \
20 -n "Tool to switch between contexts (clusters) on kubectl faster" > debian/kubectx.1
21
22 help2man debian/kubectx/usr/bin/kubens \
23 --no-info --no-discard-stderr \
24 --version-string="$(DEB_VERSION)" \
25 -n "Tool to switch between Kubernetes namespaces, and configure them for kubectl" > debian/kubens.1
26 endif