projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bbf9d14
)
Add automated link checking script to the Maintenance script makefile.
author
Dean Camera
<dean@fourwalledcubicle.com>
Fri, 23 Mar 2012 22:12:16 +0000
(22:12 +0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Fri, 23 Mar 2012 22:12:16 +0000
(22:12 +0000)
Maintenance/makefile
patch
|
blob
|
blame
|
history
diff --git
a/Maintenance/makefile
b/Maintenance/makefile
index
137b802
..
5cce2bf
100644
(file)
--- a/
Maintenance/makefile
+++ b/
Maintenance/makefile
@@
-36,6
+36,13
@@
check-documentation-placeholders:
fi;
\r
@echo Done.
\r
\r
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
# 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