aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/StudioIntegration/makefile
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-04-06 21:21:13 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-04-06 21:21:13 +0000
commit7dc77a6abc7f3a86970ca48d355b55ed5931a350 (patch)
tree7e9d018586106f37a70dc8b31c05cb7b75f21593 /LUFA/StudioIntegration/makefile
parentdd08100a7dc173f38cb9ee4ec48341b52ff5f386 (diff)
downloadlufa-7dc77a6abc7f3a86970ca48d355b55ed5931a350.tar.gz
lufa-7dc77a6abc7f3a86970ca48d355b55ed5931a350.tar.bz2
lufa-7dc77a6abc7f3a86970ca48d355b55ed5931a350.zip
Update VSIX package generator; allow all newer test builds to be installed over the top of each other without first uninstalling the existing one, but allow all releases to supersede test builds.
Diffstat (limited to 'LUFA/StudioIntegration/makefile')
-rw-r--r--LUFA/StudioIntegration/makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/LUFA/StudioIntegration/makefile b/LUFA/StudioIntegration/makefile
index 207d7d049..b96f4013a 100644
--- a/LUFA/StudioIntegration/makefile
+++ b/LUFA/StudioIntegration/makefile
@@ -18,6 +18,12 @@ XML_FILES := $(filter-out $(TEMP_MANIFEST_FILE), $(shell ls *.xml))
LUFA_VERSION_NUM := $(shell grep LUFA_VERSION_STRING $(LUFA_ROOT)/Version.h | cut -d'"' -f2)
EXT_VERSION_NUM := $(shell date +"%y.%m.%d").$(LUFA_VERSION_NUM)
+ifeq ($(LUFA_VERSION_NUM),000000)
+ EXT_VERSION_NUM := 0.$(shell date +"%y%m%d.%H%M%S")
+
+ $(warning No LUFA version set - assuming a test version should be created.)
+endif
+
all: generate_xml check_filenames generate_vsix
clean: