]> rtime.felk.cvut.cz Git - omk.git/blobdiff - snippets/sources-list
Fixed (undocumented) sources-list target to work with new config files
[omk.git] / snippets / sources-list
index d782bd38ad86509c21ae483f90a41d3eea198a2f..a9eb027a11efb9f240de5b14cd4b63bfa3b32cc8 100644 (file)
@@ -24,7 +24,7 @@ ifeq ($(NEED_SOURCES_LIST),y) # avoid execution of find command bellow if it is
 .PHONY: sources-list
 sources-list: $(SOURCES_LIST)
 
-$(SOURCES_LIST): $(CONFIG_FILE) $(CONFIG_FILE)-default $(shell find -name $(MAKEFILE_OMK))
+$(SOURCES_LIST): $(CONFIG_FILES) $(shell find -name $(MAKEFILE_OMK))
        @echo -n "" > "$(SOURCES_LIST).tmp"
        @$(MAKE) --no-print-directory sources-list-pass
        @echo "# Automatically generated list of files in '$(RELATIVE_DIR)' that are used during OMK compilation" > "$(SOURCES_LIST).tmp2"