[asterisk-commits] mjordan: branch 12 r397924 - /branches/12/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Aug 29 11:04:44 CDT 2013


Author: mjordan
Date: Thu Aug 29 11:04:42 2013
New Revision: 397924

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=397924
Log:
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.


Modified:
    branches/12/Makefile

Modified: branches/12/Makefile
URL: http://svnview.digium.com/svn/asterisk/branches/12/Makefile?view=diff&rev=397924&r1=397923&r2=397924
==============================================================================
--- branches/12/Makefile (original)
+++ branches/12/Makefile Thu Aug 29 11:04:42 2013
@@ -495,7 +495,7 @@
 	@echo "<docs xmlns:xi=\"http://www.w3.org/2001/XInclude\">" >> $@
 	@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




More information about the asterisk-commits mailing list