tazpkg view Makefile @ rev 25

Add tazpkg check support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 22 19:27:01 2007 +0000 (2007-12-22)
parents
children c8ec3c01ac1f
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 @echo "Installing documentation files..."
12 install -g root -o root -m 0755 -d $(DOCDIR)/tazpkg
13 install -g root -o root -m 0644 doc/* $(DOCDIR)/tazpkg
15 uninstall:
16 rm -f $(PREFIX)/bin/tazpkg
17 rm -rf $(DOCDIR)/tazpkg