tazlito view Makefile @ rev 140

box: clean all code (use tab)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 24 01:14:53 2010 +0100 (2010-01-24)
parents 7f611e11e57e
children cc8b4e7e46b3
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 0777 tazlitobox $(PREFIX)/bin
17 install -g root -o root -m 0755 -d /etc/tazlito
18 install -g root -o root -m 0644 tazlito.conf /etc/tazlito
19 #install -g root -o root -m 0644 distro-packages.list /etc/tazlito
20 @echo "Installing Tazlito documentation..."
21 install -g root -o root -m 0755 -d /usr/share/doc/tazlito
22 install -g root -o root -m 0644 doc/tazlito.en.html /usr/share/doc/tazlito
24 # Uninstallation commands.
26 uninstall:
27 rm -f $(PREFIX)/bin/tazlito
28 rm -f $(PREFIX)/bin/tazlitobox
29 rm -rf /etc/tazlito
30 rm -rf /usr/share/doc/tazlito