[asterisk-commits] kpfleming: branch 1.6.2 r190869 - in /branches/1.6.2: ./ Makefile
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Apr 28 09:17:29 CDT 2009
Author: kpfleming
Date: Tue Apr 28 09:17:25 2009
New Revision: 190869
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=190869
Log:
Merged revisions 190865 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r190865 | kpfleming | 2009-04-28 09:15:47 -0500 (Tue, 28 Apr 2009) | 5 lines
Build XML documention from *only* the source files that have docs in them
Change the build process so that doc/core-en_US.xml is dependent solely on the source files that have documentation in them, not on all source files.
........
Modified:
branches/1.6.2/ (props changed)
branches/1.6.2/Makefile
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.2/Makefile
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.2/Makefile?view=diff&rev=190869&r1=190868&r2=190869
==============================================================================
--- branches/1.6.2/Makefile (original)
+++ branches/1.6.2/Makefile Tue Apr 28 09:17:25 2009
@@ -493,7 +493,7 @@
mkdir -p $(DESTDIR)$(AGI_DIR)
$(MAKE) -C sounds install
-doc/core-en_US.xml: $(foreach dir,$(MOD_SUBDIRS),$(wildcard $(dir)/*.c) $(wildcard $(dir)/*.cc))
+doc/core-en_US.xml: $(foreach dir,$(MOD_SUBDIRS),$(shell $(GREP) -l "language=\"en_US\"" $(dir)/*.c $(dir)/*.cc 2>/dev/null))
@echo -n "Building Documentation For: "
@echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" > $@
@echo "<!DOCTYPE docs SYSTEM \"appdocsxml.dtd\">" >> $@
More information about the asterisk-commits
mailing list