aboutsummaryrefslogtreecommitdiff
path: root/Maintenance/makefile
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-03-23 22:12:16 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2012-03-23 22:12:16 +0000
commit44ff9764447510a20b18ad57def1a2cf0ac5abf7 (patch)
tree6a98b6025a86cb5c03948552b7ba874befcc5116 /Maintenance/makefile
parent9e4c48ec17980c13b6a461567fdcc7270c825ef8 (diff)
Add automated link checking script to the Maintenance script makefile.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2119 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Maintenance/makefile')
-rw-r--r--Maintenance/makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Maintenance/makefile b/Maintenance/makefile
index 137b802a..5cce2bf1 100644
--- a/Maintenance/makefile
+++ b/Maintenance/makefile
@@ -36,6 +36,13 @@ check-documentation-placeholders:
fi;
@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-branch:
make -s -C $(LUFA_ROOT) doxygen