aboutsummaryrefslogtreecommitdiffstats
path: root/Maintenance
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-03-09 21:30:01 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-03-09 21:30:01 +0000
commit8de8d7ab5a280ed9fc062c4bbc0f43350de1f383 (patch)
tree09c564a8c405030b7600326248861d3ea2eb1479 /Maintenance
parent663f9bd5f5592fb6670fa20cabdc65dea631739d (diff)
downloadlufa-8de8d7ab5a280ed9fc062c4bbc0f43350de1f383.tar.gz
lufa-8de8d7ab5a280ed9fc062c4bbc0f43350de1f383.tar.bz2
lufa-8de8d7ab5a280ed9fc062c4bbc0f43350de1f383.zip
Update maintenance scripts to add targets to validate the current branch for complete correctness. Add maintenance script target for checking for release suitability.
Diffstat (limited to 'Maintenance')
-rw-r--r--Maintenance/makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/Maintenance/makefile b/Maintenance/makefile
index 7bc8cc155..d7230781d 100644
--- a/Maintenance/makefile
+++ b/Maintenance/makefile
@@ -12,6 +12,8 @@ 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 \
@@ -20,8 +22,15 @@ upgrade-doxygen:
mv -u $$doxygen_conf.new $$doxygen_conf; \
done;
@echo Doxygen configuration update complete.
-
-check-release:
+
+# 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)/BuildTests all
+
+# Check the working branch documentation, ensure no placeholder values
+check-documentation-placeholders:
@echo Checking for release suitability...
@if ( grep "XXXXXX" $(LUFA_ROOT)/LUFA/DoxygenPages/*.txt > /dev/null ;); then \
echo " ERROR: Doxygen documentation has not been updated for release!"; \
@@ -32,3 +41,6 @@ check-release:
exit 1; \
fi;
@echo Done.
+
+# Validate the working branch for general release, check for placeholder documentation then build and test everything
+validate-release: check-documentation-placeholders validate-branch \ No newline at end of file