<!-- Update the extension online help URLs to the version of LUFA being
used -->
- <xsl:template match="online-help/*/@baseurl">
+ <xsl:template match="online-help/*/@baseurl | online-help/index-page/@url">
<xsl:attribute name="baseurl">
<xsl:value-of select="current()"/>
<xsl:value-of select="$lufa-version"/>
<license caption="LUFA license" path="LUFA/License.txt"/>\r
<release-notes caption="LUFA Information" url="http://www.lufa-lib.org"/>\r
<online-help>\r
- <index-page caption="LUFA Documentation" url="http://www.lufa-lib.org/documentation"/>\r
- <module-help-page scheme="append" baseurl="http://www.fourwalledcubicle.com/files/LUFA/Doc/"/>\r
- <module-guide-page scheme="append" baseurl="http://www.fourwalledcubicle.com/files/LUFA/Doc/"/>\r
+ <index-page caption="LUFA Documentation" url="http://www.lufa-lib.org/documentation/"/>\r
+ <module-help-page scheme="append" baseurl="http://www.lufa-lib.org/documentation/"/>\r
+ <module-guide-page scheme="append" baseurl="http://www.lufa-lib.org/documentation/"/>\r
</online-help>\r
<offline-help>\r
- <index-page caption="LUFA Documentation" path="Documentation/html/index.htm"/>\r
+ <index-page caption="LUFA Documentation" path="Documentation/html/"/>\r
<module-help-page scheme="append" basepath="Documentation/html/"/>\r
<module-guide-page scheme="append" basepath="Documentation/html/"/>\r
</offline-help>\r
@xsltproc XSLT/lufa_extension_transform.xslt $< | xsltproc XSLT/lufa_indent_transform.xslt - > $(EXTENSION_OUTPUT_XML)
@echo "Atmel Studio extension.xml file generated."
+ @rm $(TEMP_MANIFEST_XML)
+
generate_vsix: $(EXTENSION_OUTPUT_XML) $(MODULE_OUTPUT_XML)
@echo "Creating VSIX Dependencies..."
@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 extension-version "$(EXT_VERSION_NUM)" XSLT/lufa_vsmanifest_transform.xslt VSIX/extension.vsixmanifest > $(LUFA_ROOT)/../extension.vsixmanifest
@echo "Generating Atmel Studio VSIX Extension file..."
@cd $(LUFA_ROOT)/../ && zip LUFA_AS_Extension.vsix -q -9 -r --exclude=*StudioIntegration* *
fi; \
done;
-.PHONY: all clean check_filenames generate_xml
\ No newline at end of file
+.PHONY: all clean generate_xml generate_vsix check_filenames
\ No newline at end of file