c820a17aa2435a478b4daa70f17fdd2d90b6bba4
[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 deb: main
13 ./prometheus.debian
14
15 install: main
16 install -d $(sbindir)
17 install -d $(mandir)/man1
18 install -d $(mandir)/man5
19 install -d $(sysconfdir)/cron.d
20 install -d $(sysconfdir)/prometheus
21 install -m 755 prometheus $(sbindir)
22 install -m 644 prometheus.1 $(mandir)/man1
23 install -m 644 prometheus.conf.5 $(mandir)/man5
24 install -m 755 etc/cron.d/prometheus $(sysconfdir)/cron.d
25 install -m 755 etc/init.d/prometheus $(sysconfdir)/init.d
26 install -m 600 etc/prometheus/prometheus.conf $(sysconfdir)/prometheus
27 install -m 600 etc/prometheus/hosts $(sysconfdir)/prometheus
28
29 clean:
30 rm -f prometheus
This page took 0.296253 seconds and 4 git commands to generate.