]> rtime.felk.cvut.cz Git - omk/sssa.git/commitdiff
Fixed (undocumented) sources-list target to work with new config files
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 13 May 2008 22:03:00 +0000 (22:03 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 13 May 2008 22:03:00 +0000 (22:03 +0000)
darcs-hash:20080513220334-f2ef6-e65766ee52ea5989e8df5d2d24e211741e4e1d52.gz

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"