slitaz-forge view tank/Makefile @ rev 341

mirror: Print the number of files and folders on the dir web page the user is currently on.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Nov 24 00:41:03 2012 +0000 (2012-11-24)
parents 49aa1db4bf6e
children 50a406984716
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 $(DESTDIR)$(PREFIX)/bin \
12 $(DESTDIR)$(PREFIX)/share \
13 $(WEB)/tank/log/rrd \
14 $(WEB)/tank/images/rrd
15 cp -f tank $(DESTDIR)$(PREFIX)/bin
16 cp -a files/var $(DESTDIR)/
17 chmod 0600 $(DESTDIR)/var/spool/cron/crontabs/root
18 cp -a files/etc $(DESTDIR)/
19 cp -a files/usr/bin $(DESTDIR)/
20 /etc/init.d/crond restart
21 /etc/init.d/lighttpd restart
23 uninstall:
24 rm -f $(PREFIX)/bin/tank
25 rm -rf $(PREFIX)/share/tank
26 rm -rf /etc/awstats/*.slitaz.org.conf