fi;\r
@echo Done.\r
\r
+# Test all generated documentation for any bad links\r
+check-documentation-links:\r
+ @for html_file in `find $(LUFA_ROOT) -name *.html`; do \\r
+ echo Checking $$html_file...; \\r
+ cat $$html_file | grep -v "doxygen.org" | grep -v "fourwalledcubicle.com" | wget -nv --referer=www.lufa-lib.org --user-agent="lufa-link-check-script" -B $(dir $$html_file) --spider --force-html --input-file=-; \\r
+ done;\r
+\r
# Validate the working branch - compile all documentation, demos/projects/examples and run build tests\r
validate-branch:\r
make -s -C $(LUFA_ROOT) doxygen\r