cookutils view Makefile @ rev 364

cross: improve doc
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 09 23:05:01 2012 +0200 (2012-05-09)
parents e7e7979eb49d
children 50cd87593dae
line source
1 # Makefile for SliTaz Cooker.
2 #
4 PREFIX?=/usr
5 DESTDIR?=
7 all:
9 install:
10 install -m 0755 -d $(DESTDIR)/etc/slitaz
11 install -m 0755 -d $(DESTDIR)/etc/init.d
12 install -m 0755 -d $(DESTDIR)$(PREFIX)/bin
13 install -m 0755 -d $(DESTDIR)/var/www/cgi-bin/cooker
14 install -m 0755 -d $(DESTDIR)$(PREFIX)/share/applications
15 install -m 0755 -d $(DESTDIR)$(PREFIX)/share/cook/cooktest
16 install -m 0755 -d $(DESTDIR)$(PREFIX)/share/doc/cookutils
17 install -m 0755 cook $(DESTDIR)$(PREFIX)/bin
18 install -m 0755 cooker $(DESTDIR)$(PREFIX)/bin
19 install -m 0755 cookiso $(DESTDIR)$(PREFIX)/bin
20 install -m 0644 cook.conf $(DESTDIR)/etc/slitaz
21 install -m 0644 cook.site $(DESTDIR)/etc/slitaz
22 install -m 0644 web/* $(DESTDIR)/var/www/cgi-bin/cooker
23 install -m 0644 data/*.desktop $(DESTDIR)$(PREFIX)/share/applications
24 install -m 0644 data/cooklist $(DESTDIR)$(PREFIX)/share/cook
25 install -m 0644 data/receipt $(DESTDIR)$(PREFIX)/share/cook
26 install -m 0644 data/cooktest/* $(DESTDIR)$(PREFIX)/share/cook/cooktest
27 install -m 0644 doc/* $(DESTDIR)$(PREFIX)/share/doc/cookutils
28 install -m 0644 README $(DESTDIR)$(PREFIX)/share/doc/cookutils
29 install -m 0755 init.d/cooker $(DESTDIR)/etc/init.d
30 chmod 0755 $(DESTDIR)/var/www/cgi-bin/cooker/*.cgi
32 uninstall:
33 rm -rf \
34 $(DESTDIR)$(PREFIX)/bin/cook \
35 $(DESTDIR)$(PREFIX)/bin/cooker \
36 $(DESTDIR)/etc/slitaz/cook.* \
37 $(DESTDIR)/var/www/cooker
39 # Cross
41 install-cross:
42 install -m 0755 -d $(DESTDIR)/etc/slitaz
43 install -m 0755 -d $(DESTDIR)$(PREFIX)/bin
44 install -m 0755 -d $(DESTDIR)$(PREFIX)/share/doc/cookutils
45 install -m 0755 cross $(DESTDIR)$(PREFIX)/bin
46 install -m 0644 cross.conf $(DESTDIR)/etc/slitaz
47 install -m 0644 doc/cross.txt $(DESTDIR)$(PREFIX)/share/doc/cookutils
49 uninstall-cross:
50 rm -rf \
51 $(DESTDIR)$(PREFIX)/bin/cross \
52 $(DESTDIR)/etc/slitaz/cross.conf \
53 $(DESTDIR)$(PREFIX)/share/doc/cookutils/cross.txt