1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
%:
dh $@ --buildsystem=golang --with=golang
override_dh_installman:
TZ=UTC LC_ALL=C help2man -S 'DCSO' --no-discard-stderr \
-n 'show ethtool information in InfluxDB line protocol format' \
-N --version-string="$(DEB_VERSION_UPSTREAM)" \
$(CURDIR)/debian/ethflux/usr/bin/ethflux > debian/ethflux.1
dh_installman
override_dh_auto_clean:
rm -f debian/ethflux.1
dh_auto_clean
override_dh_auto_install:
dh_auto_install -- --no-source
|