cookutils view Makefile @ rev 200

cook.conf: cross compile by default
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 04:13:15 2011 +0200 (2011-05-22)
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