Commit 663f9bd5 authored by Dean Camera's avatar Dean Camera
Browse files

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

parent 62c5a14f
......@@ -694,7 +694,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:
......
......@@ -689,7 +689,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:
......
......@@ -686,7 +686,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:
......
......@@ -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
......
......@@ -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:
......
......@@ -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:
......
......@@ -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:
......
......@@ -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:
......
......@@ -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:
......
......@@ -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)
%:
\ No newline at end of file
%:
\ No newline at end of file
......@@ -698,7 +698,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:
......
......@@ -699,7 +699,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:
......
......@@ -695,7 +695,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:
......
......@@ -695,7 +695,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:
......
......@@ -695,7 +695,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:
......
......@@ -695,7 +695,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:
......
......@@ -695,7 +695,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:
......
......@@ -695,7 +695,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:
......
......@@ -695,7 +695,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:
......
......@@ -698,7 +698,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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment