tazwok view Makefile @ rev 195
Various code cleanup and improvement
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Jan 25 02:29:37 2011 +0100 (2011-01-25) |
parents | 93cdf8506d92 |
children | 6bc684d6b4f4 |
line source
1 # Makefile for Tazwok.
2 #
3 PREFIX?=/usr
4 DOCDIR?=/usr/share/doc
6 all:
8 install:
9 @echo "Installing Tazwok into $(PREFIX)/bin..."
10 install -g root -o root -m 0777 tazwok $(PREFIX)/bin
11 install -g root -o root -m 0644 examples/tazwok.conf /etc/slitaz
12 install -g root -o root -m 0644 examples/config.site /etc
13 @echo "Installing documentation files..."
14 install -g root -o root -m 0755 -d $(DOCDIR)/tazwok
15 install -g root -o root -m 0644 doc/* $(DOCDIR)/tazwok
17 uninstall:
18 rm -f $(PREFIX)/bin/tazwok
19 rm -f /etc/slitaz/tazwok.conf
20 rm -f /etc/config.site
21 rm -rf $(DOCDIR)/tazwok