small cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
13ba816edd
commit
b601ff0a3e
2
Makefile
2
Makefile
|
@ -900,6 +900,6 @@ mxml/libmxml.a:
|
|||
|
||||
makeopts.xml: $(foreach dir,$(MOD_SUBDIRS),$(wildcard $(dir)/*.c) $(wildcard $(dir)/*.cc)) build_tools/cflags.xml sounds/sounds.xml
|
||||
@echo "Generating list of available modules ..."
|
||||
@build_tools/prep_moduledeps 2>/dev/null > $@
|
||||
@build_tools/prep_moduledeps > $@
|
||||
|
||||
.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)
|
||||
|
|
|
@ -33,8 +33,11 @@ process_dir() {
|
|||
displayname=${4}
|
||||
|
||||
echo -e "\t<category name=\"MENUSELECT_${catsuffix}\" displayname=\"${displayname}\">"
|
||||
for file in `ls ${dir}/${prefix}*.c ${dir}/${prefix}*.cc | sort`
|
||||
for file in `ls ${dir}/${prefix}*.c ${dir}/${prefix}*.cc 2> /dev/null | sort`
|
||||
do
|
||||
if [ ! -f ${file} ]; then
|
||||
continue
|
||||
fi
|
||||
fname=`basename ${file} .c`
|
||||
fname=`basename ${fname} .cc`
|
||||
get_description ${file}
|
||||
|
|
Loading…
Reference in New Issue