tazwok view Makefile @ rev 513
Updated Makefile. Added tazbb for automating build bot for tank using host crond. Added README.tazbb.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 08 22:36:23 2011 +0000 (2011-05-08) |
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