tazweb view Makefile @ rev 112
Added tag 1.6 for changeset 4742464dd376
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 24 15:39:16 2012 +0100 (2012-03-24) |
parents | db54eed62f96 |
children | a8d926c59509 |
line source
1 # Makefile for TazWeb
2 #
3 PREFIX?=/usr
4 DOCDIR?=$(PREFIX)/share/doc
5 DESTDIR?=
7 PACKAGE=tazweb
8 VERSION=1.5
10 all:
11 gcc src/main.c -o $(PACKAGE) \
12 `pkg-config --cflags --libs gtk+-2.0 webkit-1.0`
13 @du -sh $(PACKAGE)
15 install:
16 mkdir -p \
17 $(DESTDIR)$(DOCDIR)/$(PACKAGE) \
18 $(DESTDIR)$(PREFIX)/bin \
19 $(DESTDIR)$(PREFIX)/share/tazweb \
20 $(DESTDIR)$(PREFIX)/share/pixmaps \
21 $(DESTDIR)$(PREFIX)/share/applications
22 install -m 0755 $(PACKAGE) $(DESTDIR)$(PREFIX)/bin
23 cp -d doc/* $(DESTDIR)$(DOCDIR)/$(PACKAGE)
24 install -m 0644 data/tazweb.png \
25 $(DESTDIR)$(PREFIX)/share/pixmaps
26 install -m 0644 data/tazweb.desktop \
27 $(DESTDIR)$(PREFIX)/share/applications
28 cp -a data/*.html $(DESTDIR)$(PREFIX)/share/tazweb
29 install -m 0644 data/style.css \
30 $(DESTDIR)$(PREFIX)/share/tazweb
32 clean:
33 rm -f $(PACKAGE)