ssfs view Makefile @ rev 66
Add some doc and few small fixes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jun 13 18:30:46 2011 +0200 (2011-06-13) |
parents | e136f9af3729 |
children | 3a2f682ce267 |
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 $(DESTDIR)$(PREFIX)/share/pixmaps \
21 $(DESTDIR)$(PREFIX)/share/$(PACKAGE)/rootfs/bin
22 install -m 0755 $(PACKAGE)-sh $(DESTDIR)/bin
23 install -m 0755 $(PACKAGE) $(DESTDIR)$(PREFIX)/bin
24 install -m 0755 $(PACKAGE)-box $(DESTDIR)$(PREFIX)/bin
25 install -m 0755 $(PACKAGE)-server $(DESTDIR)$(PREFIX)/sbin
26 install -m 0644 README $(DESTDIR)$(DOCDIR)/$(PACKAGE)
27 install -m 0644 data/$(PACKAGE)-server.conf $(DESTDIR)/etc/$(PACKAGE)
28 install -m 0644 data/$(PACKAGE).png $(DESTDIR)$(PREFIX)/share/pixmaps
29 install -m 0644 data/$(PACKAGE).desktop \
30 $(DESTDIR)$(PREFIX)/share/applications
31 install -m 0755 $(PACKAGE)-env \
32 $(DESTDIR)$(PREFIX)/share/$(PACKAGE)/rootfs/bin
33 touch $(DESTDIR)/var/lib/$(PACKAGE)/vdisk.files