slitaz-forge view chub/Makefile @ rev 127

chub: Add custom rrdtool script and cron task
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 15 04:27:09 2012 +0100 (2012-03-15)
parents 7cf1f395cd36
children 3897fc67dad5
line source
1 # Makefile for Chub tools.
2 # Check the README for more information.
3 #
5 PREFIX?=/usr
7 all:
9 install:
10 install -m 0777 -d /var/spool/cron/crontabs
11 install -m 0777 chub $(PREFIX)/bin
12 install -m 0644 files/etc/lighttpd/vhosts.conf /etc/lighttpd
13 install -m 0644 files/var/spool/cron/crontabs/root \
14 /var/spool/cron/crontabs
16 uninstall:
17 rm -f $(PREFIX)/bin/chub
18 rm -f /etc/lighttpd/vhosts.conf
19 rm -f /var/spool/cron/crontabs/root