From 332536bcd766995a9ad19bd580f9ad96df1e0863 Mon Sep 17 00:00:00 2001 From: Darshan Shaligram Date: Mon, 5 May 2014 15:54:02 -0400 Subject: On experimental branches, log explbr=branchname. Set EXPERIMENTAL_BRANCH and log explbr to logfile and milestones on experimental branches. --- crawl-ref/source/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/Makefile') 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 # -- cgit v1.2.3-54-g00ecf