aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Barrucadu <mike@barrucadu.co.uk>2009-05-04 09:38:20 +0100
committerGravatar Barrucadu <mike@barrucadu.co.uk>2009-05-04 09:38:20 +0100
commit62d317e0d10e849c4ec358ce501ad4909b579cbb (patch)
tree23292ea45951e455b1d89b38be2896b8d40cb0bd /Makefile
parente9cfdd0f9cef05fe25201d493efa763ee13447d3 (diff)
Added KERNVER, ACH, and COMMIT variables to user agent.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 52d96b6..906436f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CPPFLAGS=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0) -Wall -W
+CPPFLAGS=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0) -Wall -W -DKERNVER="\"$(shell uname -r)\"" -DARCH="\"$(shell uname -m)\"" -DCOMMIT="\"$(shell git log | head -n1 | sed "s/.* //")\""
LDFLAGS=$(shell pkg-config --libs gtk+-2.0 webkit-1.0)
all: uzbl uzblctrl