tazwok view Makefile @ rev 547

Fix: remove_previous_package() doesn't triger false failure report anymore.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Dec 09 20:49:42 2011 +0100 (2011-12-09)
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