slish annotate 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 |
rev | line source |
---|---|
pankso@2 | 1 # Makefile for SliSH. |
pankso@2 | 2 # |
pankso@2 | 3 |
pankso@2 | 4 PREFIX?=/usr |
pankso@2 | 5 DESTDIR?= |
pankso@2 | 6 |
pankso@2 | 7 # Install/Uninstall |
pankso@2 | 8 |
pankso@2 | 9 install: |
pankso@2 | 10 install -m 0777 -d $(DESTDIR)$(PREFIX)/share/slish |
pankso@2 | 11 install -m 0755 slish $(DESTDIR)$(PREFIX)/bin |
pankso@2 | 12 install -m 0755 tools/slish.sh $(DESTDIR)$(PREFIX)/share/slish |
pankso@2 | 13 |
pankso@2 | 14 uninstall: |
pankso@2 | 15 rm -f $(DESTDIR)$(PREFIX)/bin/slish |
pankso@2 | 16 rm -rf $(DESTDIR)$(PREFIX)/share/slish |