target "make deb" + skript pro tvorbu debianiho balicku
[svn/Prometheus-QoS/.git] / Makefile
CommitLineData
a4f661fc 1PACKAGE=prometheus
0c419f83 2VERSION=0.7.7
a4f661fc 3CFLAGS=-Wall
4prefix=/usr
5mandir=$(prefix)/share/man
f2600e3c 6sbindir=$(prefix)/sbin
7sysconfdir=/etc/
a4f661fc 8
9main: prometheus
10 $(CC) -o prometheus prometheus.c
11
ab783510 12deb: main
13 ./prometheus.debian
14
a4f661fc 15install: main
f2600e3c 16 install -d $(sbindir)
17 install -d $(mandir)/man1
18 install -d $(mandir)/man5
19 install -d $(sysconfdir)/cron.d
6f5053d5 20 install -d $(sysconfdir)/prometheus
f2600e3c 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 sample-configuration/prometheus.cron $(sysconfdir)/cron.d/prometheus
6f5053d5 25 install -m 600 sample-configuration/prometheus.conf $(sysconfdir)/prometheus
26 install -m 600 sample-configuration/hosts $(sysconfdir)/prometheus
a4f661fc 27
28clean:
29 rm -f prometheus
This page took 0.139638 seconds and 4 git commands to generate.