File: rules

package info (click to toggle)
prometheus-nextcloud-exporter 0.8.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 540 kB
  • sloc: sh: 54; makefile: 54
file content (13 lines) | stat: -rwxr-xr-x 304 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

BUILDDIR := $(CURDIR)/build

%:
	dh $@ --builddirectory=$(BUILDDIR) --buildsystem=golang --with=golang

execute_after_dh_auto_build:
	mv -v $(BUILDDIR)/bin/nextcloud-exporter \
		$(BUILDDIR)/bin/prometheus-nextcloud-exporter

override_dh_auto_install:
	dh_auto_install -- --no-source