# DOXYGEN .. if non-empty, generated headers includes Doxygen's @file
# command, so it is possible to document config
# variables.
+# docs_TARGETS .. list of targets for building documentation
# Syntax: $(call BUILD_CONFIG_H_template,<stamp_dir>,<header_file_path>,<list_of_options_to_export>,<header_barrier>)
define BUILD_CONFIG_H_template
$(addprefix $(1)/,$(notdir $(addsuffix .stamp,$(2)))) : $(CONFIG_FILES)
- @$(QUIET_CMD_ECHO) " CONFGEN $$(@:%.stamp=%)"
+ @$(QUIET_CMD_ECHO) " CONFGEN $(notdir $(2))"
@if [ ! -d `dirname $(2).tmp` ] ; then \
mkdir -p `dirname $(2).tmp` ; fi
@echo "/* Automatically generated from */" > "$(2).tmp"