tazwok annotate Makefile @ rev 459
tazwok, gen_package(): fix libs detection
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Mar 16 19:02:11 2011 +0100 (2011-03-16) |
parents | 93cdf8506d92 |
children | 6bc684d6b4f4 |
rev | line source |
---|---|
pankso@6 | 1 # Makefile for Tazwok. |
pankso@6 | 2 # |
pankso@6 | 3 PREFIX?=/usr |
pankso@6 | 4 DOCDIR?=/usr/share/doc |
pankso@6 | 5 |
pankso@6 | 6 all: |
pankso@6 | 7 |
pankso@6 | 8 install: |
pankso@6 | 9 @echo "Installing Tazwok into $(PREFIX)/bin..." |
pankso@6 | 10 install -g root -o root -m 0777 tazwok $(PREFIX)/bin |
gokhlayeh@186 | 11 install -g root -o root -m 0644 examples/tazwok.conf /etc/slitaz |
gokhlayeh@186 | 12 install -g root -o root -m 0644 examples/config.site /etc |
pankso@6 | 13 @echo "Installing documentation files..." |
pankso@6 | 14 install -g root -o root -m 0755 -d $(DOCDIR)/tazwok |
pankso@6 | 15 install -g root -o root -m 0644 doc/* $(DOCDIR)/tazwok |
pankso@6 | 16 |
pankso@6 | 17 uninstall: |
pankso@6 | 18 rm -f $(PREFIX)/bin/tazwok |
gokhlayeh@186 | 19 rm -f /etc/slitaz/tazwok.conf |
gokhlayeh@186 | 20 rm -f /etc/config.site |
pankso@6 | 21 rm -rf $(DOCDIR)/tazwok |