From a8a698c82b748b73224f01c3bd19b29a2e698ab0 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 23 Nov 2011 12:55:54 +0000 Subject: [PATCH] BUILD: Added comment to new project generation target --- ports.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ports.mk b/ports.mk index 3149ffbe573..e195e01dfeb 100644 --- a/ports.mk +++ b/ports.mk @@ -248,10 +248,13 @@ win32setup: $(EXECUTABLE) # Special target to generate project files for various IDEs # Mainly Win32-specific # + +# The release branch is in form 'heads/branch-1-4-1', for this case +# $CUR_BRANCH will be equal to '1', for the rest cases it will be empty CUR_BRANCH := $(shell cd $(srcdir); git describe --all |cut -d '-' -f 4-) ideprojects: devtools/create_project -ifneq ($(VER_DIRTY), -dirty) +ifeq ($(VER_DIRTY), -dirty) $(error You have uncommitted changes) endif ifeq "$(CUR_BRANCH)" "heads/master"