blob: 8d26446d358f507ab57e53883e8eadf272e4976a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/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)/nut_exporter
override_dh_auto_install:
install -d $$(pwd)/debian/tmp/usr/bin/
install -m 755 $$(pwd)/$(DEB_BUILD_ARCH)/nut_exporter $$(pwd)/debian/tmp/usr/bin/prometheus-nut-exporter
|