From: Pavel Pisa Date: Tue, 11 Nov 2008 23:41:34 +0000 (+0100) Subject: Consider even cscope target as consumer of SOURCES_LIST. X-Git-Tag: v0.1-sssa~19 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/omk.git/commitdiff_plain/96a6b9115df2c640836761ff41abce59edcefb74 Consider even cscope target as consumer of SOURCES_LIST. Signed-off-by: Pavel Pisa --- diff --git a/snippets/sources-list b/snippets/sources-list index 37dbe5e..c742865 100644 --- a/snippets/sources-list +++ b/snippets/sources-list @@ -11,13 +11,7 @@ SOURCES_LIST_D := $(LOCAL_BUILD_DIR)/$(SOURCES_LIST_FN).d export SOURCES_LIST SOURCES_LIST_DIR SOURCES_LIST_D endif -ifeq ($(MAKECMDGOALS),sources-list) -NEED_SOURCES_LIST=y -endif -ifeq ($(MAKECMDGOALS),TAGS) -NEED_SOURCES_LIST=y -endif -ifeq ($(MAKECMDGOALS),tags) +ifneq ($(filter sources-list TAGS tags cscope,$(MAKECMDGOALS)),) NEED_SOURCES_LIST=y endif