From: Michal Sojka Date: Thu, 18 Sep 2008 18:18:00 +0000 (+0000) Subject: Fixed error sources-list targen when run on distcleaned sources X-Git-Tag: v0.1-sssa~35 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/omk.git/commitdiff_plain/7db0114bceabcb49cfdc74fdd6f096b1fd92c5cb Fixed error sources-list targen when run on distcleaned sources darcs-hash:20080918181818-f2ef6-16f7c7a7d1512f6483c2a4fbbbaebee74132cb62.gz --- diff --git a/snippets/sources-list b/snippets/sources-list index 4065aef..37dbe5e 100644 --- a/snippets/sources-list +++ b/snippets/sources-list @@ -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