tazweb view Makefile @ rev 1
Add the Makefile
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 04 02:41:46 2011 +0200 (2011-04-04) |
parents | |
children | 70b548105df2 |
line source
1 # Makefile for TazLauncher.
2 #
3 PREFIX?=/usr
4 DOCDIR?=$(PREFIX)/share/doc/slitaz
5 DESTDIR?=
7 PACKAGE=tazweb
8 VERSION=1.0
10 all:
11 gcc src/main.c -o $(PACKAGE) \
12 `pkg-config --cflags --libs gtk+-2.0 webkit-1.0`
14 toolbar:
15 gcc src/with-toolbar.c -o $(PACKAGE)-toolbar \
16 `pkg-config --cflags --libs gtk+-2.0 webkit-1.0`
18 install:
19 mkdir -p \
20 $(DESTDIR)$(DOCDIR)/slitaz \
21 $(DESTDIR)$(PREFIX)/bin \
22 $(DESTDIR)$(PREFIX)/share/pixmaps \
23 $(DESTDIR)$(PREFIX)/share/applications
24 install -m 0777 $(PACKAGE) $(DESTDIR)$(PREFIX)/bin
25 cp -f doc/*.html $(DESTDIR)$(DOCDIR)
26 cp -f data/tazweb-icon.png \
27 $(DESTDIR)$(PREFIX)/share/pixmaps/tazweb.png
28 install -m 0644 data/tazweb.desktop \
29 $(DESTDIR)$(PREFIX)/share/applications
31 clean:
32 rm -f $(PACKAGE)
33 rm -f $(PACKAGE)-toolbar