# HG changeset patch # User Christophe Lincoln # Date 1398609434 -7200 # Node ID 68926620b1a7c4921a455dbcec7cf97c2fd61438 # Parent b9e4120b1d78be7d4b58d8e4ed20755a489a8260 Fix Makefile install path diff -r b9e4120b1d78 -r 68926620b1a7 Makefile --- a/Makefile Sun Apr 27 07:59:16 2014 +0100 +++ b/Makefile Sun Apr 27 16:37:14 2014 +0200 @@ -3,7 +3,9 @@ DESTDIR?= PREFIX?=/usr -IMAGES=$(DESTDIR)$(PREFIX)/share/images + +DATA=$(DESTDIR)$(PREFIX)/share +IMAGES=$(DATA)/images all: @@ -11,10 +13,11 @@ install: install -m 0755 -d $(DESTDIR)$(PREFIX)/bin - install -m 0755 -d $(DESTDIR)$(PREFIX)/share/sts - install -m 0755 -d $(DESTDIR)$(PREFIX)/share/images + install -m 0755 -d $(DATA)/slitaz/sts + install -m 0755 -d $(IMAGES) cp -a sts* $(DESTDIR)$(PREFIX)/bin - cp -a openbox $(DESTDIR)$(PREFIX)/share/sts - cp -a lxpanel $(DESTDIR)$(PREFIX)/share/sts - cp -a applications $(DESTDIR)$(PREFIX)/share + cp -a openbox $(DATA)/slitaz/sts + cp -a lxpanel $(DATA)/slitaz/sts + cp -a applications $(DATA) cp -a images/sts-background.jpg $(IMAGES) +