main subdirectory is not dependencies for menuselect input
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 21 Aug 2006 02:31:01 +0000 (02:31 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 21 Aug 2006 02:31:01 +0000 (02:31 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40725 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index a42993d..a1480d0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -654,7 +654,7 @@ mxml/libmxml.a:
        @cd mxml && unset CFLAGS AST_LIBS && test -f config.h || ./configure --build=$(BUILD_PLATFORM) --host=$(BUILD_PLATFORM)
        $(MAKE) -C mxml libmxml.a
 
-menuselect-tree: $(foreach dir,$(MOD_SUBDIRS),$(wildcard $(dir)/*.c) $(wildcard $(dir)/*.cc)) build_tools/cflags.xml sounds/sounds.xml build_tools/embed_modules.xml
+menuselect-tree: $(foreach dir,$(filter-out main,$(MOD_SUBDIRS)),$(wildcard $(dir)/*.c) $(wildcard $(dir)/*.cc)) build_tools/cflags.xml sounds/sounds.xml build_tools/embed_modules.xml
        @echo "Generating input for menuselect ..."
        @build_tools/prep_moduledeps > $@