[asterisk-commits] mjordan: trunk r397925 - in /trunk: ./ Makefile

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


Author: mjordan
Date: Thu Aug 29 11:05:23 2013
New Revision: 397925

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

Merged revisions 397924 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/Makefile

Propchange: trunk/
------------------------------------------------------------------------------
--- branch-12-merged (original)
+++ branch-12-merged Thu Aug 29 11:05:23 2013
@@ -1,1 +1,1 @@
-/branches/12:1-397816,397854,397856,397859,397870,397874,397876,397885,397892,397894,397896,397898,397900,397902,397911,397921-397922
+/branches/12:1-397816,397854,397856,397859,397870,397874,397876,397885,397892,397894,397896,397898,397900,397902,397911,397921-397922,397924

Modified: trunk/Makefile
URL: http://svnview.digium.com/svn/asterisk/trunk/Makefile?view=diff&rev=397925&r1=397924&r2=397925
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Thu Aug 29 11:05:23 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