From: aquarius Date: Fri, 4 Jan 2008 22:18:30 +0000 (+0000) Subject: Makefile edited so now prometheus.cron is installed during make install X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=0c419f83421cc11c38f9440eac87d648c49ee675;p=svn%2FPrometheus-QoS%2F.git Makefile edited so now prometheus.cron is installed during make install git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@33 251d49ef-1d17-4917-a970-b30cf55b089b --- diff --git a/Makefile b/Makefile index dabf242..782989c 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,10 @@ PACKAGE=prometheus -VERSION=0.7.1 +VERSION=0.7.7 CFLAGS=-Wall prefix=/usr mandir=$(prefix)/share/man bindir=$(prefix)/sbin +crondir=/etc/cron.d main: prometheus $(CC) -o prometheus prometheus.c @@ -11,6 +12,7 @@ main: prometheus install: main install -d $(bindir) install -m 755 prometheus $(bindir) + install -m 755 sample_config/prometheus.cron $(crondir)/prometheus clean: rm -f prometheus