]> rtime.felk.cvut.cz Git - omk/sssa.git/blobdiff - snippets/config_h.omk
Merge branch 'master' into sssa
[omk/sssa.git] / snippets / config_h.omk
index 9718d85b0d4cb4c3477c7f331191be11a30ea4c9..5c99e38866afe37560b4e9d6910a695acad1abb3 100644 (file)
@@ -7,12 +7,13 @@
 # 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"