Commit 0424bd4d authored by Dean Camera's avatar Dean Camera
Browse files

Add automated link checking script to the Maintenance script makefile.

parent bbf9d14b
...@@ -36,6 +36,13 @@ check-documentation-placeholders: ...@@ -36,6 +36,13 @@ check-documentation-placeholders:
fi; fi;
@echo Done. @echo Done.
# Test all generated documentation for any bad links
check-documentation-links:
@for html_file in `find $(LUFA_ROOT) -name *.html`; do \
echo Checking $$html_file...; \
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=-; \
done;
# Validate the working branch - compile all documentation, demos/projects/examples and run build tests # Validate the working branch - compile all documentation, demos/projects/examples and run build tests
validate-branch: validate-branch:
make -s -C $(LUFA_ROOT) doxygen make -s -C $(LUFA_ROOT) doxygen
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment