sts annotate Makefile @ rev 9
Fix Makefile install path
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 27 16:37:14 2014 +0200 (2014-04-27) |
parents | 208f982f1d37 |
children | 6188e4a86b44 |
rev | line source |
---|---|
pankso@7 | 1 # Makefile for STS. |
pankso@7 | 2 # |
pankso@7 | 3 |
pankso@7 | 4 DESTDIR?= |
pankso@7 | 5 PREFIX?=/usr |
pankso@9 | 6 |
pankso@9 | 7 DATA=$(DESTDIR)$(PREFIX)/share |
pankso@9 | 8 IMAGES=$(DATA)/images |
pankso@7 | 9 |
pankso@7 | 10 all: |
pankso@7 | 11 |
pankso@7 | 12 # Install |
pankso@7 | 13 |
pankso@7 | 14 install: |
pankso@7 | 15 install -m 0755 -d $(DESTDIR)$(PREFIX)/bin |
pankso@9 | 16 install -m 0755 -d $(DATA)/slitaz/sts |
pankso@9 | 17 install -m 0755 -d $(IMAGES) |
pankso@7 | 18 cp -a sts* $(DESTDIR)$(PREFIX)/bin |
pankso@9 | 19 cp -a openbox $(DATA)/slitaz/sts |
pankso@9 | 20 cp -a lxpanel $(DATA)/slitaz/sts |
pankso@9 | 21 cp -a applications $(DATA) |
pankso@7 | 22 cp -a images/sts-background.jpg $(IMAGES) |
pankso@9 | 23 |