Let find do its own globbing.

Previously a stray .c file would cause xmldocs to not get built.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Walter Doekes
2013-05-31 07:57:28 +00:00
parent 721a1faf6d
commit 390b994fce

View File

@@ -468,7 +468,7 @@ doc/core-en_US.xml: makeopts .lastclean $(XML_core_en_US)
@echo "<docs xmlns:xi=\"http://www.w3.org/2001/XInclude\">" >> $@
@for x in $(MOD_SUBDIRS); do \
printf "$$x " ; \
for i in `find $$x -name *.c`; do \
for i in `find $$x -name '*.c'`; do \
$(AWK) -f build_tools/get_documentation $$i >> $@ ; \
done ; \
done