diff --git a/LUFA/StudioIntegration/VSIX/[Content_Types].xml b/LUFA/StudioIntegration/VSIX/[Content_Types].xml
new file mode 100644
index 0000000000..bb630d84ed
--- /dev/null
+++ b/LUFA/StudioIntegration/VSIX/[Content_Types].xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/LUFA/StudioIntegration/VSIX/extension.vsixmanifest b/LUFA/StudioIntegration/VSIX/extension.vsixmanifest
new file mode 100644
index 0000000000..0adf42656b
--- /dev/null
+++ b/LUFA/StudioIntegration/VSIX/extension.vsixmanifest
@@ -0,0 +1,24 @@
+
+
+
+
+ LUFA Library
+ Dean Camera
+ 00.00.00
+ http://www.lufa-lib.org
+ LUFA USB Framework
+
+ LUFA\DoxygenPages\Images\LUFA_thumb.png
+ LUFA\DoxygenPages\Images\LUFA.png
+
+
+ AtmelStudio
+
+
+
+ 1033
+
+
+
+
+
diff --git a/LUFA/StudioIntegration/makefile b/LUFA/StudioIntegration/makefile
index aa1feb1dee..442e8fdebf 100644
--- a/LUFA/StudioIntegration/makefile
+++ b/LUFA/StudioIntegration/makefile
@@ -9,7 +9,7 @@
# Makefile for the LUFA Atmel Studio Integration.
# ---------------------------------------
-LUFA_ROOT := ../
+LUFA_ROOT := ..
DOXYGEN_TAG_FILE_XML := $(LUFA_ROOT)/Documentation/lufa_doc_tags.xml
TEMP_MANIFEST_XML := manifest.xml
EXTENSION_OUTPUT_XML := $(LUFA_ROOT)/../extension.xml
@@ -17,7 +17,7 @@ MODULE_OUTPUT_XML := $(LUFA_ROOT)/asf.xml
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)
-all: check_filenames generate_xml
+all: check_filenames generate_xml generate_vsix
clean:
@rm $(TEMP_MANIFEST_XML) $(MODULE_OUTPUT_XML) $(EXTENSION_OUTPUT_XML)
@@ -47,6 +47,10 @@ generate_xml: $(TEMP_MANIFEST_XML)
@rm $(TEMP_MANIFEST_XML)
+generate_vsix: $(EXTENSION_OUTPUT_XML) $(MODULE_OUTPUT_XML)
+ cp VSIX/* $(LUFA_ROOT)/../
+ cd $(LUFA_ROOT)/../; zip LUFA_AS_Extension.vsix -r --exclude=*StudioIntegration* *
+
check_filenames: $(TEMP_MANIFEST_XML)
@for i in `xsltproc XSLT/lufa_filelist_transform.xslt $< | grep -v "^<" | sed -e "/^$$/d"`; do \
if ( ! test -f "$(LUFA_ROOT)/$$i" ); then \