Update maintenance scripts to add targets to validate the current branch for complete...
authorDean Camera <dean@fourwalledcubicle.com>
Fri, 9 Mar 2012 21:30:01 +0000 (21:30 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Fri, 9 Mar 2012 21:30:01 +0000 (21:30 +0000)
Maintenance/makefile

index 7bc8cc1..d723078 100644 (file)
@@ -12,6 +12,8 @@ LUFA_ROOT = ../
 \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
@@ -20,8 +22,15 @@ upgrade-doxygen:
          mv -u $$doxygen_conf.new $$doxygen_conf; \\r
        done;\r
        @echo Doxygen configuration update complete.\r
-       \r
-check-release:\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
        @if ( grep "XXXXXX" $(LUFA_ROOT)/LUFA/DoxygenPages/*.txt > /dev/null ;); then \\r
          echo "  ERROR: Doxygen documentation has not been updated for release!"; \\r
@@ -32,3 +41,6 @@ check-release:
          exit 1; \\r
        fi;\r
        @echo Done.\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