slish diff Makefile @ rev 11

Add slish to /etc/shells (used by dropbear) and some improvment
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jan 27 21:59:01 2014 +0100 (2014-01-27)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile	Mon Jan 27 21:59:01 2014 +0100
     1.3 @@ -0,0 +1,16 @@
     1.4 +# Makefile for SliSH.
     1.5 +#
     1.6 +
     1.7 +PREFIX?=/usr
     1.8 +DESTDIR?=
     1.9 +
    1.10 +# Install/Uninstall
    1.11 +
    1.12 +install:
    1.13 +	install -m 0777 -d $(DESTDIR)$(PREFIX)/share/slish
    1.14 +	install -m 0755 slish $(DESTDIR)$(PREFIX)/bin
    1.15 +	install -m 0755 tools/slish.sh $(DESTDIR)$(PREFIX)/share/slish
    1.16 +
    1.17 +uninstall:
    1.18 +	rm -f $(DESTDIR)$(PREFIX)/bin/slish
    1.19 +	rm -rf $(DESTDIR)$(PREFIX)/share/slish