ssfs view Makefile @ rev 51

ssfs-box: improve user experience :-)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 12 20:29:39 2011 +0200 (2011-06-12)
parents 8727a2a80b10
children 082c86920b7b
line source
1 # Makefile for Ssfs
2 #
3 PREFIX?=/usr
4 DOCDIR?=$(PREFIX)/share/doc
5 DESTDIR?=
7 PACKAGE=ssfs
8 VERSION=0.1-beta
10 all:
12 install:
13 mkdir -p $(DESTDIR)/bin \
14 $(DESTDIR)/etc/$(PACKAGE) \
15 $(DESTDIR)$(DOCDIR)/$(PACKAGE) \
16 $(DESTDIR)$(PREFIX)/bin \
17 $(DESTDIR)$(PREFIX)/sbin \
18 $(DESTDIR)/var/lib/$(PACKAGE) \
19 $(DESTDIR)$(PREFIX)/share/applications
20 install -m 0755 $(PACKAGE)-sh $(DESTDIR)/bin
21 install -m 0755 $(PACKAGE) $(DESTDIR)$(PREFIX)/bin
22 install -m 0755 $(PACKAGE)-box $(DESTDIR)$(PREFIX)/bin
23 install -m 0755 $(PACKAGE)-server $(DESTDIR)$(PREFIX)/sbin
24 install -m 0644 README $(DESTDIR)$(DOCDIR)/$(PACKAGE)
25 install -m 0644 data/$(PACKAGE)-server.conf $(DESTDIR)/etc/$(PACKAGE)
26 install -m 0644 data/$(PACKAGE).desktop \
27 $(DESTDIR)$(PREFIX)/share/applications
28 touch $(DESTDIR)/var/lib/$(PACKAGE)/vdisk.files