From e55aa538980902953dbe52364ca8df74e1bf0f72 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Wed, 22 Feb 2012 17:23:02 -0600 Subject: add build string to linux build --- linux/Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit 1.4.1-2-gfad0