From ebf0d128285f0bfaaca2f0a8c1bf23472662a01e Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Tue, 25 Feb 2014 11:23:52 +0100
Subject: [PATCH] Supply GLUON_VERSION variable

---
 include/gluon.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/gluon.mk b/include/gluon.mk
index 5fc862c9a..006a1b117 100644
--- a/include/gluon.mk
+++ b/include/gluon.mk
@@ -23,6 +23,9 @@ $(GLUON_SITEDIR)/site.mk:
 -include $(GLUON_SITEDIR)/site.mk
 
 
+GLUON_VERSION := $(shell cd $(GLUONDIR) && git describe --always 2>/dev/null || echo unknown)
+export GLUON_VERSION
+
 GLUON_CONFIG_VERSION := $(shell cd $(GLUON_SITEDIR) && git describe --always --dirty=.$$(stat -c %Y $(GLUON_SITEDIR)/site.conf) 2>/dev/null || stat -c %Y site.conf)
 export GLUON_CONFIG_VERSION
 
-- 
GitLab