[asterisk-commits] branch group/autoconf_and_menuselect r18443 - /team/group/autoconf_and_menuse...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Apr 7 15:41:03 MST 2006


Author: kpfleming
Date: Fri Apr  7 17:41:02 2006
New Revision: 18443

URL: http://svn.digium.com/view/asterisk?rev=18443&view=rev
Log:
ensure makeopts.xml is only changed when relevant files are touched

Modified:
    team/group/autoconf_and_menuselect/Makefile

Modified: team/group/autoconf_and_menuselect/Makefile
URL: http://svn.digium.com/view/asterisk/team/group/autoconf_and_menuselect/Makefile?rev=18443&r1=18442&r2=18443&view=diff
==============================================================================
--- team/group/autoconf_and_menuselect/Makefile (original)
+++ team/group/autoconf_and_menuselect/Makefile Fri Apr  7 17:41:02 2006
@@ -347,7 +347,8 @@
 ASTCFLAGS+= -fomit-frame-pointer 
 endif
 
-SUBDIRS=res channels pbx apps codecs formats agi cdr funcs utils stdtime
+MOD_SUBDIRS=res channels pbx apps codecs formats cdr funcs
+SUBDIRS:=$(MOD_SUBDIRS) utils stdtime agi
 
 OBJS=io.o sched.o logger.o frame.o loader.o config.o channel.o \
 	translate.o file.o pbx.o cli.o md5.o term.o \
@@ -994,6 +995,6 @@
 	@cd mxml && unset CFLAGS && test -f config.h || ./configure
 	$(MAKE) -C mxml libmxml.a
 
-makeopts.xml: */*.c
+makeopts.xml: $(foreach dir,$(MOD_SUBDIRS),$(dir)/*.c)
 	@echo "Generating list of available modules ..."
 	@build_tools/prep_moduledeps > $@



More information about the asterisk-commits mailing list