Let find do its own globbing.
authorWalter Doekes <walter+asterisk@wjd.nu>
Fri, 31 May 2013 07:57:28 +0000 (07:57 +0000)
committerWalter Doekes <walter+asterisk@wjd.nu>
Fri, 31 May 2013 07:57:28 +0000 (07:57 +0000)
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

Makefile

index 2d4c021..884db7c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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