tazlito diff Makefile @ rev 55

Added tag 1.6 for changeset 27b81776952d
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 13 20:47:21 2008 +0000 (2008-03-13)
parents
children 7f611e11e57e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile	Thu Mar 13 20:47:21 2008 +0000
     1.3 @@ -0,0 +1,29 @@
     1.4 +# Makefile for Tazlito.
     1.5 +# Check the README for more informations.
     1.6 +#
     1.7 +SBINDIR?=/sbin
     1.8 +PREFIX?=/usr
     1.9 +DOCDIR?=/usr/share/doc
    1.10 +
    1.11 +all:
    1.12 +
    1.13 +# Installation.
    1.14 +# Config file goes in /etc/tazlito
    1.15 +
    1.16 +install:
    1.17 +	@echo "Installing Tazlito into $(PREFIX)/bin..."
    1.18 +	install -g root -o root -m 0777 tazlito $(PREFIX)/bin
    1.19 +	install -g root -o root -m 0755 -d /etc/tazlito
    1.20 +	install -g root -o root -m 0644 tazlito.conf /etc/tazlito
    1.21 +	#install -g root -o root -m 0644 distro-packages.list /etc/tazlito
    1.22 +	@echo "Installing Tazlito documentation..."
    1.23 +	install -g root -o root -m 0755 -d /usr/share/doc/tazlito
    1.24 +	install -g root -o root -m 0644 doc/tazlito.html /usr/share/doc/tazlito
    1.25 +
    1.26 +# Uninstallation commands.
    1.27 +
    1.28 +uninstall:
    1.29 +	rm -f $(PREFIX)/bin/tazlito
    1.30 +	rm -rf /etc/tazlito
    1.31 +	rm -rf /usr/share/doc/tazlito
    1.32 +