aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/StudioIntegration/makefile
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-01-07 20:39:25 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-01-07 20:39:25 +0000
commit841bb33e362cfbeee8fb3d267072a3e64f5fbd87 (patch)
tree06a85af26abb264efaf63ac411c27a7aa8481c86 /LUFA/StudioIntegration/makefile
parent48e87c8e8f4395a107bd63c3be8c57a636c25cf1 (diff)
downloadlufa-841bb33e362cfbeee8fb3d267072a3e64f5fbd87.tar.gz
lufa-841bb33e362cfbeee8fb3d267072a3e64f5fbd87.tar.bz2
lufa-841bb33e362cfbeee8fb3d267072a3e64f5fbd87.zip
Add ASF provider manifest file and adjust VSIX packing to compress the library contents.
Diffstat (limited to 'LUFA/StudioIntegration/makefile')
-rw-r--r--LUFA/StudioIntegration/makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/LUFA/StudioIntegration/makefile b/LUFA/StudioIntegration/makefile
index 860b5983d..2e7ae564c 100644
--- a/LUFA/StudioIntegration/makefile
+++ b/LUFA/StudioIntegration/makefile
@@ -49,12 +49,19 @@ generate_xml: $(TEMP_MANIFEST_XML)
@rm $(TEMP_MANIFEST_XML)
generate_vsix: $(EXTENSION_OUTPUT_XML) $(MODULE_OUTPUT_XML)
+ @echo "Archiving Content..."
+ @cd $(LUFA_ROOT)/../ && zip contents.zip -q -9 -r --exclude=*$(notdir $(DOXYGEN_TAG_FILE_XML)) --exclude=*StudioIntegration* LUFA Bootloaders Demos Projects extension.xml README.txt
+
@echo "Creating VSIX Dependencies..."
+ @cp $(LUFA_ROOT)/DoxygenPages/Images/LUFA_thumb.png $(LUFA_ROOT)/../PreviewThumb.png
+ @cp $(LUFA_ROOT)/DoxygenPages/Images/LUFA.png $(LUFA_ROOT)/../Preview.png
+ @cp $(LUFA_ROOT)/License.txt $(LUFA_ROOT)/../
@cp "VSIX/[Content_Types].xml" $(LUFA_ROOT)/../
@xsltproc --stringparam extension-version "$(EXT_VERSION_NUM)" XSLT/lufa_vsmanifest_transform.xslt VSIX/extension.vsixmanifest > $(LUFA_ROOT)/../extension.vsixmanifest
+ @xsltproc --stringparam lufa-version "$(LUFA_VERSION_NUM)" XSLT/lufa_asfmanifest_transform.xslt VSIX/asf-manifest.xml > $(LUFA_ROOT)/../asf-manifest.xml
@echo "Generating Atmel Studio VSIX Extension file..."
- @cd $(LUFA_ROOT)/../ && zip LUFA_AS_Extension.vsix -q -9 -r --exclude=*$(notdir $(DOXYGEN_TAG_FILE_XML)) --exclude=*StudioIntegration* *
+ @cd $(LUFA_ROOT)/../ && zip LUFA.vsix -q contents.zip License.txt Preview.png PreviewThumb.png "[Content_Types].xml" extension.vsixmanifest asf-manifest.xml extension.xml
@echo "Atmel Studio VSIX Extension file generated."
check_filenames: $(TEMP_MANIFEST_XML)