slitaz-forge view tank/Makefile @ rev 682
play.slitaz.me: use header
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 19 01:29:50 2017 +0100 (2017-03-19) |
parents | be92986c20ed |
children |
line source
1 # Makefile for Tank tools.
2 # Check the README for more information.
3 #
4 PREFIX?=/usr
5 DESTDIR?=
6 WEB?=/home/slitaz/www
8 all:
10 install:
11 mkdir -p \
12 $(DESTDIR)$(PREFIX)/bin \
13 $(DESTDIR)$(PREFIX)/share \
14 $(WEB)/tank/log/rrd \
15 $(WEB)/tank/images/rrd
17 cp -f tank $(DESTDIR)$(PREFIX)/bin
18 cp -a files/* $(DESTDIR)/
19 chmod 0600 $(DESTDIR)/var/spool/cron/crontabs/root
21 /etc/init.d/crond restart
22 /etc/init.d/lighttpd restart