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

@ -707,9 +707,12 @@ 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:
rm -rf Documentation

View file

@ -481,7 +481,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

@ -701,7 +701,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

@ -691,7 +691,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

@ -454,7 +454,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

@ -673,7 +673,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

@ -42,4 +42,5 @@ staticcheck:
cppcheck --quiet --inline-suppr --check-config --template=$(MESSAGE_TEMPLATE) $(INCLUDE_PATHS:%=-I%) $(EXCLUDE_LIST:%=-i%) $(LUFA_ROOT_PATH)
cppcheck --quiet --inline-suppr --error-exitcode=1 --std=c99 --force --enable=all --inconclusive $(SUPPRESS_WARNINGS:%=--suppress=%) --template=$(MESSAGE_TEMPLATE) $(INCLUDE_PATHS:%=-I%) $(EXCLUDE_LIST:%=-i%) $(LUFA_ROOT_PATH)
%:
%: