tazpkg view Makefile @ rev 180
tazpkgbox: refresh blocked stat
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 24 09:00:32 2008 +0000 (2008-10-24) |
parents | cc891ba68475 |
children | c02154e1b4c5 |
line source
1 # Makefile for Tazpkg.
2 #
3 PREFIX?=/usr
4 DOCDIR?=/usr/share/doc
6 all:
8 install:
9 @echo "Installing Tazpkg into $(PREFIX)/bin..."
10 install -g root -o root -m 0777 tazpkg $(PREFIX)/bin
11 install -g root -o root -m 0777 tazpkgbox $(PREFIX)/bin
12 @echo "Installing Tazpkgbox lib into $(PREFIX)/lib/slitaz..."
13 cp -a lib/tazpkgbox $(PREFIX)/lib/slitaz
14 @echo "Installing documentation files..."
15 install -g root -o root -m 0755 -d $(DOCDIR)/tazpkg
16 install -g root -o root -m 0644 doc/* $(DOCDIR)/tazpkg
18 uninstall:
19 rm -f $(PREFIX)/bin/tazpkg
20 rm -rf $(DOCDIR)/tazpkg