Clean up VSIX generation scripts.

This commit is contained in:
Dean Camera 2013-01-17 20:07:19 +00:00
parent af241316de
commit 2709627970
3 changed files with 7 additions and 4 deletions

View 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; \