Update maintenance scripts to abort if the check-release target fails to complete.

This commit is contained in:
Dean Camera 2012-03-08 06:16:02 +00:00
parent ceed4e680f
commit fa49bc152c
1 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,7 @@
LUFA_ROOT = ../
upgrade-doxygen:
@echo Updating Doxygen.conf files...
@echo Upgrading Doxygen.conf files...
@for doxygen_conf in `find $(LUFA_ROOT) -name Doxygen.conf`; do \
doxygen -u $$doxygen_conf; \
done;
@ -21,8 +21,10 @@ check-release:
@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!"; \
exit 1; \
fi;
@if ( grep "000000" $(LUFA_ROOT)/LUFA/Version.h > /dev/null ;); then \
echo " ERROR: Version header has not been updated for release!"; \
exit 1; \
fi;
@echo Done.