tazlito view Makefile @ rev 4

Add a Makefile and modified tazlito config path
author Christophe Lincoln <pankso@slitaz.org>
date Sat Dec 01 12:10:11 2007 +0100 (2007-12-01)
parents
children 7f611e11e57e
line source
1 # Makefile for Tazlito.
2 # Check the README for more informations.
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