tazlito annotate 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 |
rev | line source |
---|---|
pankso@4 | 1 # Makefile for Tazlito. |
pankso@4 | 2 # Check the README for more informations. |
pankso@4 | 3 # |
pankso@4 | 4 SBINDIR?=/sbin |
pankso@4 | 5 PREFIX?=/usr |
pankso@4 | 6 DOCDIR?=/usr/share/doc |
pankso@4 | 7 |
pankso@4 | 8 all: |
pankso@4 | 9 |
pankso@4 | 10 # Installation. |
pankso@4 | 11 # Config file goes in /etc/tazlito |
pankso@4 | 12 |
pankso@4 | 13 install: |
pankso@4 | 14 @echo "Installing Tazlito into $(PREFIX)/bin..." |
pankso@4 | 15 install -g root -o root -m 0777 tazlito $(PREFIX)/bin |
pankso@4 | 16 install -g root -o root -m 0755 -d /etc/tazlito |
pankso@4 | 17 install -g root -o root -m 0644 tazlito.conf /etc/tazlito |
pankso@4 | 18 #install -g root -o root -m 0644 distro-packages.list /etc/tazlito |
pankso@4 | 19 @echo "Installing Tazlito documentation..." |
pankso@4 | 20 install -g root -o root -m 0755 -d /usr/share/doc/tazlito |
pankso@4 | 21 install -g root -o root -m 0644 doc/tazlito.html /usr/share/doc/tazlito |
pankso@4 | 22 |
pankso@4 | 23 # Uninstallation commands. |
pankso@4 | 24 |
pankso@4 | 25 uninstall: |
pankso@4 | 26 rm -f $(PREFIX)/bin/tazlito |
pankso@4 | 27 rm -rf /etc/tazlito |
pankso@4 | 28 rm -rf /usr/share/doc/tazlito |
pankso@4 | 29 |