X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/0424bd4dbc8a6a22310e4081d2d5dc852a92ea4c..a9d8af99e40cd4f3898cc6c8b0e572763edf8ed6:/Maintenance/makefile diff --git a/Maintenance/makefile b/Maintenance/makefile index 5cce2bf1c..1fef2460b 100644 --- a/Maintenance/makefile +++ b/Maintenance/makefile @@ -8,18 +8,21 @@ # Maintenance scripts not required by general LUFA users, used for project development purposes. + +# Path to the root of the LUFA tree LUFA_ROOT = ../ all: - # Update all Doxygen configuration files to the latest Doxygen version - force Markdown support to be disabled upgrade-doxygen: @echo Upgrading Doxygen.conf files... @for doxygen_conf in `find $(LUFA_ROOT) -name Doxygen.conf`; do \ doxygen -u $$doxygen_conf; \ sed "s/MARKDOWN_SUPPORT *= *YES/MARKDOWN_SUPPORT = NO/1" $$doxygen_conf > $$doxygen_conf.new; \ - mv -u $$doxygen_conf.new $$doxygen_conf; \ + sed "s/DISABLE_INDEX *= *NO/DISABLE_INDEX = YES/1" $$doxygen_conf.new > $$doxygen_conf.new2; \ + mv -u $$doxygen_conf.new2 $$doxygen_conf; \ + rm $$doxygen_conf.new; \ done; @echo Doxygen configuration update complete. @@ -36,17 +39,10 @@ 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 - make -s -C $(LUFA_ROOT) all + make -s -C $(LUFA_ROOT) all make -s -C $(LUFA_ROOT)/BuildTests all # Validate the working branch for general release, check for placeholder documentation then build and test everything