sts rev 7

Add the Makefile
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 26 22:23:11 2014 +0200 (2014-04-26)
parents c117f953ea84
children b9e4120b1d78
files Makefile
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile	Sat Apr 26 22:23:11 2014 +0200
     1.3 @@ -0,0 +1,20 @@
     1.4 +# Makefile for STS.
     1.5 +#
     1.6 +
     1.7 +DESTDIR?=
     1.8 +PREFIX?=/usr
     1.9 +IMAGES=$(DESTDIR)$(PREFIX)/share/images
    1.10 +
    1.11 +all:
    1.12 +
    1.13 +# Install
    1.14 +
    1.15 +install:
    1.16 +	install -m 0755 -d $(DESTDIR)$(PREFIX)/bin
    1.17 +	install -m 0755 -d $(DESTDIR)$(PREFIX)/share/sts
    1.18 +	install -m 0755 -d $(DESTDIR)$(PREFIX)/share/images
    1.19 +	cp -a sts* $(DESTDIR)$(PREFIX)/bin
    1.20 +	cp -a openbox $(DESTDIR)$(PREFIX)/share/sts
    1.21 +	cp -a lxpanel $(DESTDIR)$(PREFIX)/share/sts
    1.22 +	cp -a applications $(DESTDIR)$(PREFIX)/share
    1.23 +	cp -a images/sts-background.jpg $(IMAGES)