Makefile edited so now prometheus.cron is installed during make install
authoraquarius <aquarius@251d49ef-1d17-4917-a970-b30cf55b089b>
Fri, 4 Jan 2008 22:18:30 +0000 (22:18 +0000)
committeraquarius <aquarius@251d49ef-1d17-4917-a970-b30cf55b089b>
Fri, 4 Jan 2008 22:18:30 +0000 (22:18 +0000)
git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@33 251d49ef-1d17-4917-a970-b30cf55b089b

Makefile

index dabf242..782989c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
 PACKAGE=prometheus
 PACKAGE=prometheus
-VERSION=0.7.1
+VERSION=0.7.7
 CFLAGS=-Wall
 prefix=/usr
 mandir=$(prefix)/share/man
 bindir=$(prefix)/sbin
 CFLAGS=-Wall
 prefix=/usr
 mandir=$(prefix)/share/man
 bindir=$(prefix)/sbin
+crondir=/etc/cron.d
 
 main: prometheus
        $(CC) -o prometheus prometheus.c
 
 main: prometheus
        $(CC) -o prometheus prometheus.c
@@ -11,6 +12,7 @@ main: prometheus
 install: main
        install -d $(bindir)
        install -m 755 prometheus $(bindir)
 install: main
        install -d $(bindir)
        install -m 755 prometheus $(bindir)
+       install -m 755 sample_config/prometheus.cron $(crondir)/prometheus
 
 clean:
        rm -f prometheus
 
 clean:
        rm -f prometheus
This page took 0.142004 seconds and 4 git commands to generate.