tazlito view Makefile @ rev 107
tazlito upgrade-flavor/pack-flavor: estimate sizes
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 21 13:44:40 2009 +0200 (2009-08-21) |
parents | 3abe847f2264 |
children | 65c0f2dee00c |
line source
1 # Makefile for Tazlito.
2 # Check the README for more information.
3 #
4 SBINDIR?=/sbin
5 PREFIX?=/usr
6 DOCDIR?=/usr/share/doc
8 all:
10 # Installation.
11 # Config file goes in /etc/tazlito
13 install:
14 @echo "Installing Tazlito into $(PREFIX)/bin..."
15 install -g root -o root -m 0777 tazlito $(PREFIX)/bin
16 install -g root -o root -m 0755 -d /etc/tazlito
17 install -g root -o root -m 0644 tazlito.conf /etc/tazlito
18 #install -g root -o root -m 0644 distro-packages.list /etc/tazlito
19 @echo "Installing Tazlito documentation..."
20 install -g root -o root -m 0755 -d /usr/share/doc/tazlito
21 install -g root -o root -m 0644 doc/tazlito.html /usr/share/doc/tazlito
23 # Uninstallation commands.
25 uninstall:
26 rm -f $(PREFIX)/bin/tazlito
27 rm -rf /etc/tazlito
28 rm -rf /usr/share/doc/tazlito