blob: 45bb86123a474d12854d786bf9bc47ab10e9b6da (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)/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
override_dh_auto_clean:
make VERSION=$(DEB_VERSION_UPSTREAM) clean
|