aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/StudioIntegration
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2017-04-18 20:36:44 +1000
committerDean Camera <dean@fourwalledcubicle.com>2017-04-18 21:03:45 +1000
commita8546529926fc87b5d73b75217ec011962e8ccaa (patch)
tree571eca92081765489a3e569d960b11805a76052c /LUFA/StudioIntegration
parent0b9b6329261d1e382efb3ace9d57de1a5e81b522 (diff)
downloadlufa-a8546529926fc87b5d73b75217ec011962e8ccaa.tar.gz
lufa-a8546529926fc87b5d73b75217ec011962e8ccaa.tar.bz2
lufa-a8546529926fc87b5d73b75217ec011962e8ccaa.zip
Commit for the 170418 release.
Diffstat (limited to 'LUFA/StudioIntegration')
-rw-r--r--LUFA/StudioIntegration/makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/LUFA/StudioIntegration/makefile b/LUFA/StudioIntegration/makefile
index d55af244f..53fb47012 100644
--- a/LUFA/StudioIntegration/makefile
+++ b/LUFA/StudioIntegration/makefile
@@ -10,16 +10,17 @@
# ---------------------------------------
LUFA_ROOT := ..
-LUFA_VERSION_NUM := $(shell grep LUFA_VERSION_STRING $(LUFA_ROOT)/Version.h | cut -d'"' -f2)
+LUFA_VERSION_NUM := $(shell grep -e "\#define *LUFA_VERSION_STRING " $(LUFA_ROOT)/Version.h | cut -d'"' -f2)
+LUFA_VERSION_TYPE := $(shell grep -e "\#define *LUFA_VERSION_RELEASE_TYPE " $(LUFA_ROOT)/Version.h)
-ifneq ($(LUFA_VERSION_NUM),000000)
+ifneq ($(findstring LUFA_VERSION_RELEASE_TYPE_DEVELOPMENT, $(LUFA_VERSION_TYPE)),LUFA_VERSION_RELEASE_TYPE_DEVELOPMENT)
EXT_VERSION_NUM := $(shell date +"%y.%m.%d").$(LUFA_VERSION_NUM)
EXT_VSIX_NAME := LUFA-RELEASE-$(LUFA_VERSION_NUM).vsix
else
EXT_VERSION_NUM := 0.$(shell date +"%y%m%d.%H%M%S")
EXT_VSIX_NAME := LUFA-TESTING-$(shell date +"%y.%m.%d-%H.%M.%S").vsix
- $(warning No LUFA version set - assuming a test version should be created.)
+ $(warning Development mode set - assuming a test version should be created.)
endif
DOXYGEN_TAG_FILE_XML := $(LUFA_ROOT)/Documentation/lufa_doc_tags.xml