dect
/
asterisk
Archived
13
0
Fork 0

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/trunk@190865 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
kpfleming 2009-04-28 14:15:47 +00:00
parent fffa63d2e8
commit efe37fcc3f
1 changed files with 1 additions and 1 deletions

View File

@ -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\">" >> $@