Clean up DOXYGEN and SOURCES build system modules - use non-recursively evaluated make variables.

This commit is contained in:
Dean Camera 2012-06-23 17:03:01 +00:00
parent 43e10d666b
commit 6655815b32
2 changed files with 43 additions and 43 deletions

View file

@ -66,11 +66,11 @@ $(call ERROR_IF_NONBOOL, DOXYGEN_FAIL_ON_WARNING)
MSG_DOXYGEN_CMD := ' [DOXYGEN] :'
# Determine Doxygen invocation command
BASE_DOXYGEN_CMD = ( cat $(DOXYGEN_CONF) $(DOXYGEN_OVERRIDE_PARAMS:%=; echo "%") ) | doxygen -
BASE_DOXYGEN_CMD := ( cat $(DOXYGEN_CONF) $(DOXYGEN_OVERRIDE_PARAMS:%=; echo "%") ) | doxygen -
ifeq ($(DOXYGEN_FAIL_ON_WARNING), Y)
DOXYGEN_CMD = if ( $(BASE_DOXYGEN_CMD) 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then exit 1; fi;
DOXYGEN_CMD := if ( $(BASE_DOXYGEN_CMD) 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then exit 1; fi;
else
DOXYGEN_CMD = $(BASE_DOXYGEN_CMD)
DOXYGEN_CMD := $(BASE_DOXYGEN_CMD)
endif
doxygen: