slitaz-forge rev 97

chub: Add a Makefile
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 08 16:18:33 2012 +0100 (2012-03-08)
parents 1b3e9918c56d
children eed946160be6
files chub/Makefile
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/chub/Makefile	Thu Mar 08 16:18:33 2012 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +# Makefile for Chub tools.
     1.5 +# Check the README for more information.
     1.6 +#
     1.7 +
     1.8 +PREFIX?=/usr
     1.9 +
    1.10 +all:
    1.11 +
    1.12 +install:
    1.13 +	install -m 0777 chub $(PREFIX)/bin
    1.14 +	install -m 0644 files/etc/lighttpd/vhosts.conf /etc/lighttpd
    1.15 +
    1.16 +uninstall:
    1.17 +	rm -f $(PREFIX)/bin/chub
    1.18 +	rm -f /etc/lighttpd/vhosts.conf