aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-01-17 20:07:19 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-01-17 20:07:19 +0000
commit2709627970191a8df057380ac74b8df48ccfb3cd (patch)
tree0019ee94490bd140eb85b35a223cf3726a09ed15
parentaf241316deb5a900757fa77d07864c1d9d0b6dc4 (diff)
downloadlufa-2709627970191a8df057380ac74b8df48ccfb3cd.tar.gz
lufa-2709627970191a8df057380ac74b8df48ccfb3cd.tar.bz2
lufa-2709627970191a8df057380ac74b8df48ccfb3cd.zip
Clean up VSIX generation scripts.
-rw-r--r--LUFA/StudioIntegration/VSIX/asf-manifest.xml2
-rw-r--r--LUFA/StudioIntegration/XSLT/lufa_asfmanifest_transform.xslt3
-rw-r--r--LUFA/StudioIntegration/makefile6
3 files changed, 7 insertions, 4 deletions
diff --git a/LUFA/StudioIntegration/VSIX/asf-manifest.xml b/LUFA/StudioIntegration/VSIX/asf-manifest.xml
index cd77a76a8..e90e875f0 100644
--- a/LUFA/StudioIntegration/VSIX/asf-manifest.xml
+++ b/LUFA/StudioIntegration/VSIX/asf-manifest.xml
@@ -3,7 +3,7 @@
<Org>FourWalledCubicle</Org>
<ShortName>LUFA</ShortName>
<Author>Dean Camera</Author>
- <Description></Description>
+ <Description/>
<FollowFolderStructure>True</FollowFolderStructure>
</Identifier>
<AsfContent Type="zip" Path="contents.zip">
diff --git a/LUFA/StudioIntegration/XSLT/lufa_asfmanifest_transform.xslt b/LUFA/StudioIntegration/XSLT/lufa_asfmanifest_transform.xslt
index 8cbb8afb8..8fc98412f 100644
--- a/LUFA/StudioIntegration/XSLT/lufa_asfmanifest_transform.xslt
+++ b/LUFA/StudioIntegration/XSLT/lufa_asfmanifest_transform.xslt
@@ -8,7 +8,8 @@
<!-- Atmel Studio framework VSIX XML transform file -->
-
+<!-- Updates an asf-manifest.xml document to add appropriate version
+ information. -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" omit-xml-declaration="yes"/>
diff --git a/LUFA/StudioIntegration/makefile b/LUFA/StudioIntegration/makefile
index 55efdcd94..41b95a6c8 100644
--- a/LUFA/StudioIntegration/makefile
+++ b/LUFA/StudioIntegration/makefile
@@ -72,8 +72,10 @@ generate_vsix: $(EXTENSION_OUTPUT_XML) $(MODULE_OUTPUT_XML)
check_filenames: $(MODULE_OUTPUT_XML)
@echo Verifying referenced filenames of ASF.xml modules...
@for f in `find $(LUFA_ROOT)/../ -name "asf.xml"`; do \
- xsltproc XSLT/lufa_filelist_transform.xslt $$f | grep -v "^<" | sed -e "/^$$/d" | while read -r i; do \
- if ( ! test -f "`dirname $$f`/$$i" ); then \
+ echo "Checking $$f..."; \
+ asf_file_dir=`dirname $$f`; \
+ xsltproc XSLT/lufa_filelist_transform.xslt $$f | sed -e "/^$$/d" | while read -r i; do \
+ if ( ! test -f "$$asf_file_dir/$$i" ); then \
echo "Source file \"$$i\" referenced in $$f does not exist!"; \
exit 1; \
fi; \