Update Doxygen documentation build scripts to fail if any warnings are generated.

This commit is contained in:
Dean Camera 2012-03-09 21:28:44 +00:00
parent 62c5a14fbb
commit 663f9bd5f5
89 changed files with 269 additions and 89 deletions

View file

@ -683,7 +683,9 @@ clean_list :
doxygen:
@echo Generating Project Documentation \($(TARGET)\)...
@doxygen Doxygen.conf
@if ( doxygen Doxygen.conf 2>&1 | grep "warning" ;); then \
exit 1; \
fi;
@echo Documentation Generation Complete.
clean_doxygen:

View file

@ -456,7 +456,9 @@ clean_list :
doxygen:
@echo Generating Project Documentation \($(TARGET)\)...
@doxygen Doxygen.conf
@if ( doxygen Doxygen.conf 2>&1 | grep "warning" ;); then \
exit 1; \
fi;
@echo Documentation Generation Complete.
clean_doxygen:

View file

@ -675,7 +675,9 @@ clean_list :
doxygen:
@echo Generating Project Documentation \($(TARGET)\)...
@doxygen Doxygen.conf
@if ( doxygen Doxygen.conf 2>&1 | grep "warning" ;); then \
exit 1; \
fi;
@echo Documentation Generation Complete.
clean_doxygen:

View file

@ -77,7 +77,11 @@ ifeq ($(origin LUFA_PATH), undefined)
doxygen:
@echo Generating LUFA Library Documentation...
( cat Doxygen.conf ; echo "PROJECT_NUMBER=`grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`" ) | doxygen -
@if ( ( cat Doxygen.conf ; echo "PROJECT_NUMBER=`grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`" ) | doxygen - 2>&1 | grep "warning" ;); then \
exit 1; \
fi;
@echo Documentation Generation Complete.
clean_doxygen: