summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/Makefile
diff options
context:
space:
mode:
authorDarshan Shaligram <scintilla@gmail.com>2014-05-05 15:54:02 -0400
committerDarshan Shaligram <scintilla@gmail.com>2014-05-05 20:44:15 -0400
commit332536bcd766995a9ad19bd580f9ad96df1e0863 (patch)
tree6650cbfea549ba915f69a105b274d4ba8b6ce815 /crawl-ref/source/Makefile
parent86354defe9dc5cb3d15b7596668d15c0c946aaac (diff)
downloadcrawl-ref-332536bcd766995a9ad19bd580f9ad96df1e0863.tar.gz
crawl-ref-332536bcd766995a9ad19bd580f9ad96df1e0863.zip
On experimental branches, log explbr=branchname.
Set EXPERIMENTAL_BRANCH and log explbr to logfile and milestones on experimental branches.
Diffstat (limited to 'crawl-ref/source/Makefile')
-rw-r--r--crawl-ref/source/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/Makefile b/crawl-ref/source/Makefile
index 327e6db67e..36daa8ddad 100644
--- a/crawl-ref/source/Makefile
+++ b/crawl-ref/source/Makefile
@@ -719,6 +719,13 @@ ifdef EUCLIDEAN
DEFINES_L += -DEUCLIDEAN
endif
+
+SRC_BRANCH := $(shell git rev-parse --abbrev-ref HEAD || echo release)
+ifneq ($(SRC_BRANCH),$(filter master release stone_soup-%, $(SRC_BRANCH)))
+ DEFINES_L += -DEXPERIMENTAL_BRANCH="\"$(SRC_BRANCH)\""
+endif
+
+
#
# Figure out the build settings for this type of build
#