Add .PHONY targets in all build system modules. Alter BUILD module so that the existe...
[pub/USBasp.git] / LUFA / Build / lufa.doxygen.in
index 7d4f8ae..0a6ad6e 100644 (file)
@@ -50,10 +50,15 @@ MSG_DOXYGEN_CMD         := ' [DOXYGEN] :'
 BASE_DOXYGEN_CMD = ( cat Doxygen.conf $(DOXYGEN_OVERRIDE_PARAMS:%=; echo "%") ) | doxygen -\r
 ifeq ($(DOXYGEN_FAIL_ON_WARNING), Y)\r
    DOXYGEN_CMD = if ( $(BASE_DOXYGEN_CMD) 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then exit 1; fi;\r
-else\r
+else ifeq ($(DOXYGEN_FAIL_ON_WARNING), N)\r
    DOXYGEN_CMD = $(BASE_DOXYGEN_CMD)\r
+else\r
+       $(error DOXYGEN_FAIL_ON_WARNING must be Y or N.)\r
 endif\r
 \r
 doxygen:\r
        @echo $(MSG_DOXYGEN_CMD) Configuration file \"$(DOXYGEN_CONF)\" with parameters \"$(DOXYGEN_OVERRIDE_PARAMS)\"\r
        $(DOXYGEN_CMD)\r
+\r
+# Phony build targets for this module\r
+.PHONY: doxygen
\ No newline at end of file