From 3f0148cd678dc4f61ac624985bc0a54e253abbd9 Mon Sep 17 00:00:00 2001 From: Matthew Jordan Date: Thu, 29 Aug 2013 16:05:23 +0000 Subject: [PATCH] Recursively search for '.c' files when making documentation with 'make full' Without this, documentation defined in sub-folders is ignored. Since having properly generated documentation is especially important in Asterisk 12 - not having it can cause a module to not load - 'make full' needs to look in all .c files. ........ Merged revisions 397924 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397925 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 068ad6d..ae043f2 100644 --- a/Makefile +++ b/Makefile @@ -495,7 +495,7 @@ else @echo "" >> $@ @for x in $(MOD_SUBDIRS); do \ printf "$$x " ; \ - for i in $$x/*.c; do \ + for i in `find $$x -name '*.c'`; do \ $(PYTHON) build_tools/get_documentation.py < $$i >> $@ ; \ done ; \ done -- 1.7.9.5