tazwok rev 6

Add the Makefile
author Christophe Lincoln <pankso@slitaz.org>
date Wed Dec 12 18:53:50 2007 +0100 (2007-12-12)
parents a9502fdd734b
children 87df46cab51d
files Makefile
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile	Wed Dec 12 18:53:50 2007 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +# Makefile for Tazwok.
     1.5 +#
     1.6 +PREFIX?=/usr
     1.7 +DOCDIR?=/usr/share/doc
     1.8 +
     1.9 +all:
    1.10 +
    1.11 +install:
    1.12 +	@echo "Installing Tazwok into $(PREFIX)/bin..."
    1.13 +	install -g root -o root -m 0777 tazwok $(PREFIX)/bin
    1.14 +	install -g root -o root -m 0644 examples/tazwok.conf /etc
    1.15 +	@echo "Installing documentation files..."
    1.16 +	install -g root -o root -m 0755 -d $(DOCDIR)/tazwok
    1.17 +	install -g root -o root -m 0644 doc/* $(DOCDIR)/tazwok
    1.18 +
    1.19 +uninstall:
    1.20 +	rm -f $(PREFIX)/bin/tazwok
    1.21 +	rm -f /etc/tazwok.conf
    1.22 +	rm -rf $(DOCDIR)/tazwok