]> rtime.felk.cvut.cz Git - omk.git/commitdiff
Fixed error sources-list targen when run on distcleaned sources
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 18 Sep 2008 18:18:00 +0000 (18:18 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 18 Sep 2008 18:18:00 +0000 (18:18 +0000)
darcs-hash:20080918181818-f2ef6-16f7c7a7d1512f6483c2a4fbbbaebee74132cb62.gz

snippets/sources-list

index 4065aefbb24475b413d02f48ff0e2c9f33ff1beb..37dbe5e2d008776377d9dc55362b9ce0d2bfde39 100644 (file)
@@ -26,6 +26,7 @@ ifeq ($(NEED_SOURCES_LIST),y) # avoid execution of find command bellow if it is
 sources-list: $(SOURCES_LIST)
 
 $(SOURCES_LIST): $(CONFIG_FILES) $(shell find -name $(MAKEFILE_OMK))
+       @$(call mkdir_def,$(dir $(SOURCES_LIST_D)))
        @echo -n "" > "$(SOURCES_LIST).tmp"
        @echo -n "" > "$(SOURCES_LIST_D).tmp"
        @$(MAKE) --no-print-directory sources-list-pass