diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-06 23:51:15 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-06 23:51:15 +0000 |
commit | 22667a6ca68b9a1c55cc0c4dc0c5492617c4a337 (patch) | |
tree | 0b261da439ff38ed62f6fafb46bf2532cf962d70 | |
parent | 6f1d72e3f00fb3cd0307b9e661fc600e6b19d8a1 (diff) |
dirty hack of a fix to deal with the fact that chan_vpb changed to chan_vpb.cc
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37276 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | build_tools/prep_moduledeps | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -900,6 +900,6 @@ mxml/libmxml.a: makeopts.xml: $(foreach dir,$(MOD_SUBDIRS),$(dir)/*.c) build_tools/cflags.xml sounds/sounds.xml @echo "Generating list of available modules ..." - @build_tools/prep_moduledeps > $@ + @build_tools/prep_moduledeps 2>/dev/null > $@ .PHONY: menuselect sounds clean clean-depend dist-clean distclean all _all depend cleantest uninstall _uninstall uninstall-all dont-optimize valgrind $(SUBDIRS_INSTALL) $(SUBDIRS_CLEAN) $(SUBDIRS_CLEAN_DEPEND) $(SUBDIRS_DEPEND) $(SUBDIRS_UNINSTALL) $(SUBDIRS) diff --git a/build_tools/prep_moduledeps b/build_tools/prep_moduledeps index 8454ef933..3111f5742 100755 --- a/build_tools/prep_moduledeps +++ b/build_tools/prep_moduledeps @@ -33,12 +33,13 @@ process_dir() { displayname=${4} echo -e "\t<category name=\"MENUSELECT_${catsuffix}\" displayname=\"${displayname}\">" - for file in ${dir}/${prefix}*.c + for file in `ls ${dir}/${prefix}*.c ${dir}/${prefix}*.cc | sort` do fname=`basename ${file} .c` + fname=`basename ${fname} .cc` get_description ${file} desc=${TDESC} - echo -e "\t\t<member name=\"${fname}\" displayname=\"${desc}\" remove_on_change=\"${dir}/${fname}.o ${dir}/${fname}.so\">" + echo -e "\t\t<member name=\"${fname}\" displayname=\"${desc}\" remove_on_change=\"${dir}/${fname}.o ${dir}/${fname}.oo ${dir}/${fname}.so\">" awk -f build_tools/get_moduleinfo ${file} echo -e "\t\t</member>" done |