slitaz-forge annotate mirror/Makefile @ rev 384
2014
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 04 14:12:10 2014 +0000 (2014-01-04) |
parents | b75243fc6b88 |
children |
rev | line source |
---|---|
pankso@135 | 1 # Makefile for SliTaz mirror. |
pankso@135 | 2 # Check the README for more information. |
pankso@135 | 3 # |
pankso@135 | 4 |
pankso@135 | 5 PREFIX?=/usr |
pankso@157 | 6 VHOSTS?=/var/www |
pankso@157 | 7 |
pankso@157 | 8 TINY=$(VHOSTS)/pizza/tiny |
pankso@151 | 9 REPOS=/home/slitaz/repos |
pankso@135 | 10 |
pankso@135 | 11 all: |
pankso@135 | 12 |
pankso@135 | 13 install: |
pankso@135 | 14 install -m 0644 files/etc/lighttpd/vhosts.conf /etc/lighttpd |
pankso@147 | 15 install -m 0644 files/etc/rsyncd.* /etc |
pankso@162 | 16 install -m 0755 mirror $(PREFIX)/bin |
pankso@151 | 17 |
pankso@135 | 18 uninstall: |
pankso@135 | 19 rm -f /etc/lighttpd/vhosts.conf |
pankso@147 | 20 rm -f /etc/rsyncd.* |
pankso@162 | 21 rm -f $(PREFIX)/bin/mirror |