about summary refs log tree commit diff stats
path: root/linux
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2012-02-22 17:23:02 -0600
committerMarco Peereboom <marco@conformal.com>2012-02-22 17:23:02 -0600
commite55aa538980902953dbe52364ca8df74e1bf0f72 (patch)
treececce7273d5dc30de275a89670fcf3806889e418 /linux
parent5ac4f3c9f737fc53b6130c0590611f1096476f3b (diff)
downloadxombrero-e55aa538980902953dbe52364ca8df74e1bf0f72.tar.gz
add build string to linux build
Diffstat (limited to 'linux')
-rw-r--r--linux/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/Makefile b/linux/Makefile
index 542246c..b17c5e1 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -16,6 +16,11 @@ DEPS= $(addsuffix .depend, $(OBJS))
 
 CC?= gcc
 
+BUILDVERSION= $(shell sh $(CURDIR)/../buildver.sh)
+ifneq ("${BUILDVERSION}", "")
+CFLAGS+= -DXXXTERM_BUILDSTR=\"$(BUILDVERSION)\"
+endif
+
 all: javascript.h xxxterm
 
 javascript.h: ../js-merge-helper.pl ../hinting.js ../autoscroll.js