diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-28 14:17:25 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-28 14:17:25 +0000 |
commit | a0d72633438961ad57f2ca335be34bea94d37502 (patch) | |
tree | 45c906ec4747d6f1da562ce805a71eb98f30242b /Makefile | |
parent | de76fe3eddf5c865c8c522d6519b9c3a3796204a (diff) |
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.
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@190869 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -493,7 +493,7 @@ datafiles: _all 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\">" >> $@ |