tazpkg view Makefile @ rev 156
tazpkgbox: show lost files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 04 10:16:00 2008 +0000 (2008-09-04) |
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