tazwok annotate 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 |
rev | line source |
---|---|
pankso@6 | 1 # Makefile for Tazwok. |
pankso@6 | 2 # |
pankso@6 | 3 PREFIX?=/usr |
pankso@6 | 4 DOCDIR?=/usr/share/doc |
slaxemulator@513 | 5 CHSCRIPTS?=/usr/lib/slitaz/chroot-scripts |
slaxemulator@513 | 6 WWWBB?=/usr/share/slitaz/web-bb |
pankso@6 | 7 |
pankso@6 | 8 all: |
pankso@6 | 9 |
pankso@6 | 10 install: |
pankso@6 | 11 @echo "Installing Tazwok into $(PREFIX)/bin..." |
slaxemulator@513 | 12 install -g root -o root -m 0755 tazwok $(PREFIX)/bin |
slaxemulator@513 | 13 install -g root -o root -m 0755 examples/tazwok.conf /etc/slitaz |
slaxemulator@513 | 14 install -g root -o root -m 0755 examples/config.site /etc |
slaxemulator@513 | 15 install -g root -o root -m 0755 examples/tazbb $(PREFIX)/bin |
pankso@6 | 16 @echo "Installing documentation files..." |
pankso@6 | 17 install -g root -o root -m 0755 -d $(DOCDIR)/tazwok |
slaxemulator@513 | 18 install -g root -o root -m 0755 doc/* $(DOCDIR)/tazwok |
slaxemulator@513 | 19 install -g root -o root -m 0755 applications $(PREFIX)/share |
slaxemulator@513 | 20 @echo "Installing Chroot scripts..." |
slaxemulator@513 | 21 install -g root -o root -m 0755 -d $(CHSCRIPTS)/tazwok |
slaxemulator@513 | 22 install -g root -o root -m 0755 chroot-scripts/* $(CHSCRIPTS)/tazwok |
slaxemulator@513 | 23 @echo "Installing web files..." |
slaxemulator@513 | 24 install -g root -o root -m 0755 -d $(WWWBB) |
slaxemulator@513 | 25 install -g root -o root -m 0755 web/* $(WWWBB) |
pankso@6 | 26 |
pankso@6 | 27 uninstall: |
pankso@6 | 28 rm -f $(PREFIX)/bin/tazwok |
gokhlayeh@186 | 29 rm -f /etc/slitaz/tazwok.conf |
gokhlayeh@186 | 30 rm -f /etc/config.site |
pankso@6 | 31 rm -rf $(DOCDIR)/tazwok |