aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-01-05 14:01:01 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-01-05 14:01:01 +0000
commit26015d432d3f5f8c6d1816307e554520e0675f39 (patch)
treeb1b0db3997c474e204aa99cb585dda035083df19
parent9603de13981313845a12f1096091f31ea67e9372 (diff)
downloadlufa-26015d432d3f5f8c6d1816307e554520e0675f39.tar.gz
lufa-26015d432d3f5f8c6d1816307e554520e0675f39.tar.bz2
lufa-26015d432d3f5f8c6d1816307e554520e0675f39.zip
Make VSIX packing quiet, increase compression to the maximum level allowed.
-rw-r--r--LUFA/StudioIntegration/XSLT/lufa_vsmanifest_transform.xslt5
-rw-r--r--LUFA/StudioIntegration/makefile7
2 files changed, 7 insertions, 5 deletions
diff --git a/LUFA/StudioIntegration/XSLT/lufa_vsmanifest_transform.xslt b/LUFA/StudioIntegration/XSLT/lufa_vsmanifest_transform.xslt
index 7f39b9e91..db12d9ea2 100644
--- a/LUFA/StudioIntegration/XSLT/lufa_vsmanifest_transform.xslt
+++ b/LUFA/StudioIntegration/XSLT/lufa_vsmanifest_transform.xslt
@@ -8,7 +8,8 @@
<!-- Atmel Studio framework VSIX XML transform file -->
-<!-- -->
+<!-- Updates the version element of a Visual Studio VSIX manifest file to the
+ value passed as a parameter to the stylesheet transform -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:vs="http://schemas.microsoft.com/developer/vsx-schema/2010" version="1.0">
<xsl:output method="xml" omit-xml-declaration="yes"/>
@@ -22,7 +23,7 @@
</xsl:copy>
</xsl:template>
- <!-- Update the extension version to the version of LUFA being used -->
+ <!-- Update the extension version to the version passed as a parameter -->
<xsl:template match="vs:Version">
<xsl:copy>
<xsl:value-of select="$extension-version"/>
diff --git a/LUFA/StudioIntegration/makefile b/LUFA/StudioIntegration/makefile
index bcacde588..3cca3dae5 100644
--- a/LUFA/StudioIntegration/makefile
+++ b/LUFA/StudioIntegration/makefile
@@ -47,9 +47,10 @@ generate_xml: $(TEMP_MANIFEST_XML)
@echo "Atmel Studio extension.xml file generated."
generate_vsix: $(EXTENSION_OUTPUT_XML) $(MODULE_OUTPUT_XML)
- 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
- cd $(LUFA_ROOT)/../; zip LUFA_AS_Extension.vsix -r --exclude=*StudioIntegration* *
+ @echo "Generating Atmel Studio VSIX Extension file..."
+ @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
+ @cd $(LUFA_ROOT)/../; zip LUFA_AS_Extension.vsix -q -9 -r --exclude=*StudioIntegration* *
check_filenames: $(TEMP_MANIFEST_XML)
@for i in `xsltproc XSLT/lufa_filelist_transform.xslt $< | grep -v "^<" | sed -e "/^$$/d"`; do \