slitaz-forge rev 151

Add README for mf.slitaz.org
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 20 10:39:14 2012 +0100 (2012-03-20)
parents 354251dcee9d
children 1b961d3b74e8
files mf/README mirror/Makefile
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mf/README	Tue Mar 20 10:39:14 2012 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +Slitaz Mirror Files
     1.5 +================================================================================
     1.6 +
     1.7 +
     1.8 +Mirror Files host static SLiTaz files such as CSS style and images. It can and 
     1.9 +should be used by all mirror.slitaz.org vhost so we just have to work on these
    1.10 +to update all sites. Mf can also be used by other vhosts and on mirror symlink
    1.11 +can be used to point to MF:
    1.12 +
    1.13 +# ln -s /home/slitaz/repos/slitaz-forge/mf . 
    1.14 +
    1.15 +
    1.16 +Vhost  : http://mf.slitaz.org/
    1.17 +Mirror : http://mirror.slitaz.org/
    1.18 +
    1.19 +
    1.20 +================================================================================
    1.21 +
     2.1 --- a/mirror/Makefile	Tue Mar 20 10:16:26 2012 +0100
     2.2 +++ b/mirror/Makefile	Tue Mar 20 10:39:14 2012 +0100
     2.3 @@ -3,6 +3,8 @@
     2.4  #
     2.5  
     2.6  PREFIX?=/usr
     2.7 +TINY=/var/www/pizza/tiny
     2.8 +REPOS=/home/slitaz/repos
     2.9  
    2.10  all:
    2.11  
    2.12 @@ -10,6 +12,10 @@
    2.13  	install -m 0644 files/etc/lighttpd/vhosts.conf /etc/lighttpd
    2.14  	install -m 0644 files/etc/rsyncd.* /etc
    2.15  
    2.16 +install-tiny:
    2.17 +	hg pull -u $(REPOS)/slitaz-pizza
    2.18 +	cp -a $(REPOS)/slitaz-pizza/php/tiny $(TINY)
    2.19 +
    2.20  uninstall:
    2.21  	rm -f /etc/lighttpd/vhosts.conf
    2.22  	rm -f /etc/rsyncd.*