cookutils view Makefile @ rev 188

web: add Arch --> Architecture
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 20 20:07:19 2011 +0200 (2011-05-20)
parents f02a85a1f33d
children 87dfc250bba0
line source
1 # Makefile for SliTaz Cooker.
2 #
4 PREFIX?=/usr
5 DESTDIR?=
7 all:
9 install:
10 install -m 0777 -d $(DESTDIR)/etc/slitaz
11 install -m 0777 -d $(DESTDIR)$(PREFIX)/bin
12 install -m 0777 -d $(DESTDIR)/var/www/cgi-bin/cooker
13 install -m 0777 -d $(DESTDIR)$(PREFIX)/share/cook
14 install -m 0777 cook $(DESTDIR)$(PREFIX)/bin
15 install -m 0777 cooker $(DESTDIR)$(PREFIX)/bin
16 install -m 0644 cook.conf $(DESTDIR)/etc/slitaz
17 install -m 0644 cook.site $(DESTDIR)/etc/slitaz
18 install -m 0644 web/* $(DESTDIR)/var/www/cgi-bin/cooker
19 cp -r data/* $(DESTDIR)$(PREFIX)/share/cook
20 cp -r init.d $(DESTDIR)/etc
22 uninstall:
23 rm -rf \
24 $(DESTDIR)$(PREFIX)/bin/cook \
25 $(DESTDIR)$(PREFIX)/bin/cooker \
26 $(DESTDIR)/etc/slitaz/cook.* \
27 $(DESTDIR)/var/www/cgi-bin/cooker