sts 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 | b9e4120b1d78 |
children | 56ed1d0589e5 |
files | Makefile |
line diff
1.1 --- a/Makefile Sun Apr 27 07:59:16 2014 +0100 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 +