#\r
# LUFA Library\r
-# Copyright (C) Dean Camera, 2011.\r
+# Copyright (C) Dean Camera, 2012.\r
#\r
# dean [at] fourwalledcubicle [dot] com\r
# www.lufa-lib.org\r
\r
# Maintenance scripts not required by general LUFA users, used for project development purposes.\r
\r
+\r
+# Path to the root of the LUFA tree\r
LUFA_ROOT = ../\r
\r
all:\r
\r
-\r
# Update all Doxygen configuration files to the latest Doxygen version - force Markdown support to be disabled\r
upgrade-doxygen:\r
@echo Upgrading Doxygen.conf files...\r
@for doxygen_conf in `find $(LUFA_ROOT) -name Doxygen.conf`; do \\r
doxygen -u $$doxygen_conf; \\r
sed "s/MARKDOWN_SUPPORT *= *YES/MARKDOWN_SUPPORT = NO/1" $$doxygen_conf > $$doxygen_conf.new; \\r
- mv -u $$doxygen_conf.new $$doxygen_conf; \\r
+ sed "s/DISABLE_INDEX *= *NO/DISABLE_INDEX = YES/1" $$doxygen_conf.new > $$doxygen_conf.new2; \\r
+ mv -u $$doxygen_conf.new2 $$doxygen_conf; \\r
+ rm $$doxygen_conf.new; \\r
done;\r
@echo Doxygen configuration update complete.\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
- make -s -C $(LUFA_ROOT) all \r
+ make -s -C $(LUFA_ROOT) all\r
make -s -C $(LUFA_ROOT)/BuildTests all\r
\r
# Validate the working branch for general release, check for placeholder documentation then build and test everything\r