From f442a4ff9babe748b34dc61139428e828f3838fa Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 10 May 2023 15:38:44 +0200 Subject: add modbus exporter --- prom-exporter-modbus/debian/rules | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 prom-exporter-modbus/debian/rules (limited to 'prom-exporter-modbus/debian/rules') diff --git a/prom-exporter-modbus/debian/rules b/prom-exporter-modbus/debian/rules new file mode 100755 index 0000000..91d9618 --- /dev/null +++ b/prom-exporter-modbus/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f +include /usr/share/dpkg/pkg-info.mk +%: + dh $@ + +override_dh_auto_configure: + +override_dh_auto_build: + make VERSION=$(DEB_VERSION_UPSTREAM) $(DEB_BUILD_ARCH)/modbus_exporter + +override_dh_auto_install: + install -d $$(pwd)/debian/tmp/usr/bin/ + install -m 755 $$(pwd)/$(DEB_BUILD_ARCH)/modbus_exporter $$(pwd)/debian/tmp/usr/bin/prometheus-modbus-exporter + +override_dh_auto_clean: + make VERSION=$(DEB_VERSION_UPSTREAM) clean -- cgit v1.2.3