Add EEPROM programming target to the AVRDUDE build system module. Correct message...
[pub/USBasp.git] / LUFA / Build / lufa.doxygen.in
index 532bde5..13055fc 100644 (file)
@@ -44,9 +44,11 @@ DOXYGEN_OVERRIDE_PARAMS ?= QUIET=YES
 MSG_DOXYGEN_CMD          = ' [DOXYGEN] :'\r
 \r
 # Determine Doxygen invocation command\r
-DOXYGEN_CMD = ( cat Doxygen.conf ; $(DOXYGEN_OVERRIDE_PARAMS:%=echo "%";)) | doxygen -\r
+BASE_DOXYGEN_CMD = ( cat Doxygen.conf ; $(DOXYGEN_OVERRIDE_PARAMS:%=echo "%") ) | doxygen -\r
 ifeq ($(DOXYGEN_FAIL_ON_WARNING), Y)\r
-    DOXYGEN_CMD = if ( ( cat Doxygen.conf $(DOXYGEN_OVERRIDE_PARAMS:%=; echo "%") ) | doxygen - 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then exit 1; fi;\r
+    DOXYGEN_CMD = if ( $(BASE_DOXYGEN_CMD) 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then exit 1; fi;\r
+else\r
+    DOXYGEN_CMD = $(BASE_DOXYGEN_CMD)\r
 endif\r
 \r
 doxygen:\r