cleaner and more robust status/window format & update_title stuff
[uzbl-00z.git] / Makefile
blobebd6ab1920323702c360be9ac140c9225cd95118
1 CPPFLAGS=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0) -Wall -W -DARCH="\"$(shell uname -m)\"" -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\""
2 LDFLAGS=$(shell pkg-config --libs gtk+-2.0 webkit-1.0)
3 all: uzbl uzblctrl
5 test: uzbl
6 ./uzbl --uri http://www.uzbl.org
8 test-config: uzbl
9 ./uzbl --uri http://www.uzbl.org < examples/configs/sampleconfig-dev
11 test-config-real: uzbl
12 ./uzbl --uri http://www.uzbl.org < /usr/share/uzbl/examples/configs/sampleconfig
14 clean:
15 rm -f uzbl
16 rm -f uzblctrl
18 install:
19 install -d $(DESTDIR)/usr/bin
20 install -d $(DESTDIR)/usr/share/uzbl/docs
21 install -d $(DESTDIR)/usr/share/uzbl/examples
22 install -D -m755 uzbl $(DESTDIR)/usr/bin/uzbl
23 install -D -m755 uzblctrl $(DESTDIR)/usr/bin/uzblctrl
24 cp -ax docs $(DESTDIR)/usr/share/uzbl/
25 cp -ax examples $(DESTDIR)/usr/share/uzbl/
26 install -D -m644 AUTHORS $(DESTDIR)/usr/share/uzbl/docs
27 install -D -m644 README $(DESTDIR)/usr/share/uzbl/docs
29 uninstall:
30 rm -rf $(DESTDIR)/usr/bin/uzbl
31 rm -rf $(DESTDIR)/usr/bin/uzblctrl
32 rm -rf $(DESTDIR)/usr/share/uzbl