Clean up VSIX generation scripts.
authorDean Camera <dean@fourwalledcubicle.com>
Thu, 17 Jan 2013 20:07:19 +0000 (20:07 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Thu, 17 Jan 2013 20:07:19 +0000 (20:07 +0000)
LUFA/StudioIntegration/VSIX/asf-manifest.xml
LUFA/StudioIntegration/XSLT/lufa_asfmanifest_transform.xslt
LUFA/StudioIntegration/makefile

index cd77a76..e90e875 100644 (file)
@@ -3,7 +3,7 @@
     <Org>FourWalledCubicle</Org>\r
     <ShortName>LUFA</ShortName>\r
     <Author>Dean Camera</Author>\r
-    <Description></Description>\r
+    <Description/>\r
     <FollowFolderStructure>True</FollowFolderStructure>\r
   </Identifier>\r
   <AsfContent Type="zip" Path="contents.zip">\r
index 8cbb8af..8fc9841 100644 (file)
@@ -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"/>
 
index 55efdcd..41b95a6 100644 (file)
@@ -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; \