tazpkg annotate Makefile @ rev 198

tazpkgbox: add handbook link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 11 08:30:47 2008 +0000 (2008-11-11)
parents cc891ba68475
children c02154e1b4c5
rev   line source
pankso@5 1 # Makefile for Tazpkg.
pankso@5 2 #
pankso@5 3 PREFIX?=/usr
pankso@5 4 DOCDIR?=/usr/share/doc
pankso@5 5
pankso@5 6 all:
pankso@5 7
pankso@5 8 install:
pankso@5 9 @echo "Installing Tazpkg into $(PREFIX)/bin..."
pankso@5 10 install -g root -o root -m 0777 tazpkg $(PREFIX)/bin
pankso@149 11 install -g root -o root -m 0777 tazpkgbox $(PREFIX)/bin
pankso@149 12 @echo "Installing Tazpkgbox lib into $(PREFIX)/lib/slitaz..."
pankso@149 13 cp -a lib/tazpkgbox $(PREFIX)/lib/slitaz
pankso@5 14 @echo "Installing documentation files..."
pankso@5 15 install -g root -o root -m 0755 -d $(DOCDIR)/tazpkg
pankso@5 16 install -g root -o root -m 0644 doc/* $(DOCDIR)/tazpkg
pankso@5 17
pankso@5 18 uninstall:
pankso@5 19 rm -f $(PREFIX)/bin/tazpkg
pankso@5 20 rm -rf $(DOCDIR)/tazpkg