slitaz-forge diff tank/Makefile @ rev 709

boot: add mypizza.slitaz.org link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 15 17:55:16 2019 +0100 (2019-12-15)
parents be92986c20ed
children
line diff
     1.1 --- a/tank/Makefile	Sat Apr 07 22:31:56 2012 +0200
     1.2 +++ b/tank/Makefile	Sun Dec 15 17:55:16 2019 +0100
     1.3 @@ -8,19 +8,15 @@
     1.4  all:
     1.5  
     1.6  install:
     1.7 -	mkdir -p $(DESTDIR)$(PREFIX)/bin \
     1.8 +	mkdir -p \
     1.9 +		$(DESTDIR)$(PREFIX)/bin \
    1.10  		$(DESTDIR)$(PREFIX)/share \
    1.11  		$(WEB)/tank/log/rrd \
    1.12  		$(WEB)/tank/images/rrd
    1.13 +	
    1.14  	cp -f tank $(DESTDIR)$(PREFIX)/bin
    1.15 -	cp -a files/var $(DESTDIR)/
    1.16 +	cp -a files/* $(DESTDIR)/
    1.17  	chmod 0600 $(DESTDIR)/var/spool/cron/crontabs/root
    1.18 -	cp -a files/etc $(DESTDIR)/
    1.19 -	cp -a files/usr/bin $(DESTDIR)/
    1.20 +	
    1.21  	/etc/init.d/crond restart
    1.22  	/etc/init.d/lighttpd restart
    1.23 -
    1.24 -uninstall:
    1.25 -	rm -f $(PREFIX)/bin/tank
    1.26 -	rm -rf $(PREFIX)/share/tank
    1.27 -	rm -rf /etc/awstats/*.slitaz.org.conf