7 mandir = /usr
/share
/man
9 destdir
= $(CURDIR
)/debian
/prometheus
10 docdir
= /usr
/share
/doc
12 ifneq (,$(findstring noopt
,$(DEB_BUILD_OPTIONS
)))
22 $(CC
) -o
$(CURDIR
)/prometheus
$(CURDIR
)/prometheus.c
23 # $(CC) -o $(CURDIR)/prometheus-stats $(CURDIR)/optional-tools/prometheus-stats.c
42 install -m
755 -o root
-g root
$(CURDIR
)/prometheus
$(destdir
)$(bindir)
43 # install -m 755 -o root -g root $(CURDIR)/prometheus-stats $(destdir)$(bindir)
44 install -m
644 -o root
-g root
$(CURDIR
)/prometheus
.1 $(destdir
)$(mandir)/man1
45 install -m
644 -o root
-g root
$(CURDIR
)/prometheus.conf
.5 $(destdir
)$(mandir)/man5
46 install -m
755 -o root
-g root
$(CURDIR
)/conf
/prometheus.init
$(destdir
)$(sysconfdir
)/init.d
/prometheus
47 install -m
644 -o root
-g root
$(CURDIR
)/conf
/prometheus.default
$(destdir
)$(sysconfdir
)/default
/prometheus
48 install -m
755 -o root
-g root
$(CURDIR
)/conf
/prometheus.cron
$(destdir
)$(sysconfdir
)/cron.d
/prometheus
49 install -m
600 -o root
-g root
$(CURDIR
)/conf
/prometheus.hosts
$(destdir
)$(sysconfdir
)/prometheus
/hosts
50 install -m
600 -o root
-g root
$(CURDIR
)/conf
/prometheus.conf
$(destdir
)$(sysconfdir
)/prometheus
/prometheus.conf
51 install -m
700 -o root
-g root
$(CURDIR
)/check-kernel-qos
$(destdir
)$(sysconfdir
)/prometheus
52 install -m
644 -o root
-g root
$(CURDIR
)/README
$(destdir
)$(docdir
)/prometheus
53 install -m
644 -o root
-g root
$(CURDIR
)/CHANGELOG
$(destdir
)$(docdir
)/prometheus
55 # Build architecture-dependent files here.
56 binary-arch
: build
install
59 dh_installchangelogs CHANGELOG
87 .PHONY
: build
clean binary-arch binary
install