9c731785fd290f1e0983643619d067b69012d96b
[svn/Prometheus-QoS/.git] / Makefile
1 PACKAGE=prometheus
2 VERSION=0.7.7
3 CFLAGS=-Wall
4 prefix=/usr
5 mandir=$(prefix)/share/man
6 sbindir=$(prefix)/sbin
7 sysconfdir=/etc/
8
9 main: prometheus
10 $(CC) -o prometheus prometheus.c
11
12 install: main
13 install -d $(sbindir)
14 install -d $(mandir)/man1
15 install -d $(mandir)/man5
16 install -d $(sysconfdir)/cron.d
17 install -d $(sysconfdir)/prometheus
18 install -m 755 prometheus $(sbindir)
19 install -m 644 prometheus.1 $(mandir)/man1
20 install -m 644 prometheus.conf.5 $(mandir)/man5
21 install -m 755 sample-configuration/prometheus.cron $(sysconfdir)/cron.d/prometheus
22 install -m 600 sample-configuration/prometheus.conf $(sysconfdir)/prometheus
23 install -m 600 sample-configuration/hosts $(sysconfdir)/prometheus
24
25 clean:
26 rm -f prometheus
This page took 0.246573 seconds and 3 git commands to generate.