5 mandir=$(prefix)/share
/man
10 $(CC
) -o prometheus prometheus.c
13 debian
/prometheus.debian
14 dpkg-buildpackage
-rfakeroot
17 cp
-r . ..
/$(PACKAGE
)-$(VERSION
)
18 rm -rf ..
/$(PACKAGE
)-$(VERSION
)/.svn
/
19 rm -rf ..
/$(PACKAGE
)-$(VERSION
)/*/.svn
/
20 rm -rf ..
/$(PACKAGE
)-$(VERSION
)/*~
$(PACKAGE
)-$(VERSION
)/*/*~
21 tar -czf ..
/$(PACKAGE
)-$(VERSION
).
tar.gz ..
/$(PACKAGE
)-$(VERSION
)
22 rm -rf ..
/$(PACKAGE
)-$(VERSION
)
26 install -d
$(mandir)/man1
27 install -d
$(mandir)/man5
28 install -d
$(sysconfdir
)/cron.d
29 install -d
$(sysconfdir
)/prometheus
30 install -m
755 prometheus
$(sbindir
)
31 install -m
644 prometheus
.1 $(mandir)/man1
32 install -m
644 prometheus.conf
.5 $(mandir)/man5
33 install -m
755 conf
/prometheus.cron
$(sysconfdir
)/cron.d
/prometheus
34 install -m
755 conf
/prometheus.init
$(sysconfdir
)/init.d
/prometheus
35 install -m
600 conf
/prometheus.conf
$(sysconfdir
)/prometheus
36 install -m
600 conf
/prometheus.hosts
$(sysconfdir
)/prometheus
/hosts
37 install -m
644 conf
/prometheus.default
$(sysconfdir
)/default
/prometheus
41 rm -f optinal-tools
/prometheus-stats