tazweb view Makefile @ rev 40
Prepa for release
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 15 05:18:20 2011 +0200 (2011-04-15) |
parents | f8ecd3ad885b |
children | b7fd9f2aff8d |
line source
1 # Makefile for TazLauncher.
2 #
3 PREFIX?=/usr
4 DOCDIR?=$(PREFIX)/share/doc
5 DESTDIR?=
7 PACKAGE=tazweb
8 VERSION=1.2
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-icon.png \
25 $(DESTDIR)$(PREFIX)/share/pixmaps/tazweb.png
26 install -m 0644 data/tazweb.desktop \
27 $(DESTDIR)$(PREFIX)/share/applications
28 install -m 0644 data/page.html \
29 $(DESTDIR)$(PREFIX)/share/tazweb
30 install -m 0644 data/style.css \
31 $(DESTDIR)$(PREFIX)/share/tazweb
33 clean:
34 rm -f $(PACKAGE)