Minor documentation adjustments to the demos, projects and bootloaders to ensure...
[pub/USBasp.git] / Maintenance / makefile
index d723078..754ec6a 100644 (file)
@@ -6,29 +6,26 @@
 #           www.lufa-lib.org\r
 #\r
 \r
-# Maintenance scripts not required by general LUFA users, used for development.\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
-# 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)/BuildTests all\r
-\r
 # Check the working branch documentation, ensure no placeholder values\r
 check-documentation-placeholders:\r
        @echo Checking for release suitability...\r
@@ -42,5 +39,11 @@ check-documentation-placeholders:
        fi;\r
        @echo 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)/BuildTests all\r
+\r
 # Validate the working branch for general release, check for placeholder documentation then build and test everything\r
-validate-release: check-documentation-placeholders validate-branch
\ No newline at end of file
+validate-release: check-documentation-placeholders validate-branch\r