File: rules

package info (click to toggle)
prometheus-apache-exporter 0.5.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 132 kB
  • sloc: sh: 68; makefile: 40
file content (10 lines) | stat: -rwxr-xr-x 264 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/make -f

BUILDDIR := build

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

override_dh_auto_install:
	install -m755 $(BUILDDIR)/bin/apache_exporter \
            debian/prometheus-apache-exporter/usr/bin/prometheus-apache-exporter