tazwok view Makefile @ rev 555
Add libtazwok (old libtaz) - Lib taz is unmaintained and report only used by tazwok. Also for the future we need a better libtaz (now in slitaz-base-files)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 11 02:02:59 2012 +0200 (2012-04-11) |
parents | 919becf8fe71 |
children |
line source
1 # Makefile for Tazwok.
2 #
3 PREFIX?=/usr
4 DOCDIR?=/usr/share/doc
5 CHSCRIPTS?=/usr/lib/slitaz/chroot-scripts
6 WWWBB?=/usr/share/slitaz/web-bb
8 all:
10 install:
11 @echo "Installing Tazwok into $(PREFIX)/bin..."
12 install -g root -o root -m 0755 tazwok $(PREFIX)/bin
13 install -g root -o root -m 0755 examples/tazwok.conf /etc/slitaz
14 install -g root -o root -m 0755 examples/config.site /etc
15 install -g root -o root -m 0755 examples/tazbb $(PREFIX)/bin
16 @echo "Installing documentation files..."
17 install -g root -o root -m 0755 -d $(DOCDIR)/tazwok
18 install -g root -o root -m 0755 doc/* $(DOCDIR)/tazwok
19 install -g root -o root -m 0755 applications $(PREFIX)/share
20 @echo "Installing Chroot scripts..."
21 install -g root -o root -m 0755 -d $(CHSCRIPTS)/tazwok
22 install -g root -o root -m 0755 chroot-scripts/* $(CHSCRIPTS)/tazwok
23 @echo "Installing web files..."
24 install -g root -o root -m 0755 -d $(WWWBB)
25 install -g root -o root -m 0755 web/* $(WWWBB)
27 uninstall:
28 rm -f $(PREFIX)/bin/tazwok
29 rm -f /etc/slitaz/tazwok.conf
30 rm -f /etc/config.site
31 rm -rf $(DOCDIR)/tazwok