sts diff 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 |
line diff
1.1 --- a/Makefile Sat Apr 26 22:23:11 2014 +0200 1.2 +++ b/Makefile Sun Apr 27 16:37:14 2014 +0200 1.3 @@ -3,7 +3,9 @@ 1.4 1.5 DESTDIR?= 1.6 PREFIX?=/usr 1.7 -IMAGES=$(DESTDIR)$(PREFIX)/share/images 1.8 + 1.9 +DATA=$(DESTDIR)$(PREFIX)/share 1.10 +IMAGES=$(DATA)/images 1.11 1.12 all: 1.13 1.14 @@ -11,10 +13,11 @@ 1.15 1.16 install: 1.17 install -m 0755 -d $(DESTDIR)$(PREFIX)/bin 1.18 - install -m 0755 -d $(DESTDIR)$(PREFIX)/share/sts 1.19 - install -m 0755 -d $(DESTDIR)$(PREFIX)/share/images 1.20 + install -m 0755 -d $(DATA)/slitaz/sts 1.21 + install -m 0755 -d $(IMAGES) 1.22 cp -a sts* $(DESTDIR)$(PREFIX)/bin 1.23 - cp -a openbox $(DESTDIR)$(PREFIX)/share/sts 1.24 - cp -a lxpanel $(DESTDIR)$(PREFIX)/share/sts 1.25 - cp -a applications $(DESTDIR)$(PREFIX)/share 1.26 + cp -a openbox $(DATA)/slitaz/sts 1.27 + cp -a lxpanel $(DATA)/slitaz/sts 1.28 + cp -a applications $(DATA) 1.29 cp -a images/sts-background.jpg $(IMAGES) 1.30 +