File: rules

package info (click to toggle)
ethflux 1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 72 kB
  • sloc: makefile: 14
file content (19 lines) | stat: -rwxr-xr-x 504 bytes parent folder | download
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