tazweb view Makefile @ rev 38
Add degault bookmark file with separated CSS file also for doc
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 15 04:45:26 2011 +0200 (2011-04-15) |
parents | 46c4cc2696fc |
children | 1ec6daf29541 |
line source
1 # Makefile for TazLauncher.
2 #
3 PREFIX?=/usr
4 DOCDIR?=$(PREFIX)/share/doc
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`
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)