X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/9f7f595382aa482990487f431b4889430747f617..88425d7dabd07a712b32995a635a7f883ff5f726:/LUFA/Build/lufa.doxygen.in diff --git a/LUFA/Build/lufa.doxygen.in b/LUFA/Build/lufa.doxygen.in index 7d4f8ae31..0a6ad6e25 100644 --- a/LUFA/Build/lufa.doxygen.in +++ b/LUFA/Build/lufa.doxygen.in @@ -50,10 +50,15 @@ MSG_DOXYGEN_CMD := ' [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; -else +else ifeq ($(DOXYGEN_FAIL_ON_WARNING), N) DOXYGEN_CMD = $(BASE_DOXYGEN_CMD) +else + $(error DOXYGEN_FAIL_ON_WARNING must be Y or N.) endif doxygen: @echo $(MSG_DOXYGEN_CMD) Configuration file \"$(DOXYGEN_CONF)\" with parameters \"$(DOXYGEN_OVERRIDE_PARAMS)\" $(DOXYGEN_CMD) + +# Phony build targets for this module +.PHONY: doxygen \ No newline at end of file