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

pull/1469/head
Dean Camera 13 years ago
parent ceed4e680f
commit fa49bc152c

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

Loading…
Cancel
Save