aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a0be348..501a859 100644
--- a/Makefile
+++ b/Makefile
@@ -11,17 +11,20 @@ all: uzbl uzblctrl
PREFIX?=$(DESTDIR)/usr
# When compiling unit tests, compile uzbl as a library first
-test: uzbl.o
+tests: uzbl.o
$(CC) -DUZBL_LIBRARY -shared -Wl uzbl.o -o ./tests/libuzbl.so
cd ./tests/; $(MAKE)
+test: uzbl
+ ./uzbl --uri http://www.uzbl.org --verbose
+
test-dev: uzbl
XDG_DATA_HOME=./examples/data XDG_CONFIG_HOME=./examples/config ./uzbl --uri http://www.uzbl.org --verbose
test-share: uzbl
XDG_DATA_HOME=/usr/share/uzbl/examples/data XDG_CONFIG_HOME=/usr/share/uzbl/examples/config ./uzbl --uri http://www.uzbl.org --verbose
-
+
clean:
rm -f uzbl
rm -f uzblctrl