diff --git a/Makefile b/Makefile
index 2a450656c7..9ef3486cd9 100644
--- a/Makefile
+++ b/Makefile
@@ -490,6 +490,13 @@ doc/core-en_US.xml: makeopts .lastclean $(XML_core_en_US)
@for x in $(MOD_SUBDIRS); do \
printf "$$x " ; \
for i in `find $$x -name '*.c'`; do \
+ MODULEINFO=$$($(AWK) -f build_tools/get_moduleinfo $$i) ; \
+ if [ -n "$$MODULEINFO" ] ; \
+ then \
+ echo "" >> $@ ; \
+ echo "$$MODULEINFO" >> $@ ; \
+ echo "" >> $@ ; \
+ fi ; \
$(AWK) -f build_tools/get_documentation $$i >> $@ ; \
done ; \
done
diff --git a/apps/app_fax.c b/apps/app_fax.c
index d9b0a3586f..2404773d0d 100644
--- a/apps/app_fax.c
+++ b/apps/app_fax.c
@@ -13,9 +13,9 @@
*/
/*** MODULEINFO
- no
spandsp
res_fax
+ no
deprecated
res_fax
***/
diff --git a/apps/app_speech_utils.c b/apps/app_speech_utils.c
index 2ba297e330..9af8d2aee2 100644
--- a/apps/app_speech_utils.c
+++ b/apps/app_speech_utils.c
@@ -26,8 +26,8 @@
*/
/*** MODULEINFO
- core
res_speech
+ core
***/
#include "asterisk.h"
diff --git a/cdr/cdr_syslog.c b/cdr/cdr_syslog.c
index 4f0a78ccb2..932d98f5f4 100644
--- a/cdr/cdr_syslog.c
+++ b/cdr/cdr_syslog.c
@@ -37,8 +37,8 @@
*/
/*** MODULEINFO
- no
syslog
+ no
deprecated
***/
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 8d5d689cad..2c7b67322d 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -43,9 +43,9 @@
*/
/*** MODULEINFO
-
dahdi
tonezone
+
diff --git a/codecs/codec_dahdi.c b/codecs/codec_dahdi.c
index 941bb1fb25..4494197876 100644
--- a/codecs/codec_dahdi.c
+++ b/codecs/codec_dahdi.c
@@ -27,8 +27,8 @@
*/
/*** MODULEINFO
- core
dahdi
+ core
***/
#include "asterisk.h"
diff --git a/doc/appdocsxml.dtd b/doc/appdocsxml.dtd
index 7c7e606716..cf3bc4ae79 100644
--- a/doc/appdocsxml.dtd
+++ b/doc/appdocsxml.dtd
@@ -1,4 +1,4 @@
-
+
@@ -11,6 +11,24 @@
accept CDATA #IMPLIED
accept-language CDATA #IMPLIED >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/funcs/func_periodic_hook.c b/funcs/func_periodic_hook.c
index e38ff3e7ae..6b90ee3b83 100644
--- a/funcs/func_periodic_hook.c
+++ b/funcs/func_periodic_hook.c
@@ -26,11 +26,11 @@
*/
/*** MODULEINFO
- core
app_chanspy
func_cut
func_groupcount
func_uri
+ core
***/
#include "asterisk.h"
diff --git a/funcs/func_pjsip_aor.c b/funcs/func_pjsip_aor.c
index 589f667afd..9ae51ed87b 100644
--- a/funcs/func_pjsip_aor.c
+++ b/funcs/func_pjsip_aor.c
@@ -27,9 +27,9 @@
*/
/*** MODULEINFO
- core
pjproject
res_pjsip
+ core
***/
#include "asterisk.h"
diff --git a/funcs/func_pjsip_contact.c b/funcs/func_pjsip_contact.c
index 9d4ba68769..44272e1a0c 100644
--- a/funcs/func_pjsip_contact.c
+++ b/funcs/func_pjsip_contact.c
@@ -27,9 +27,9 @@
*/
/*** MODULEINFO
- core
pjproject
res_pjsip
+ core
***/
#include "asterisk.h"
diff --git a/funcs/func_pjsip_endpoint.c b/funcs/func_pjsip_endpoint.c
index e4a6abab36..bc4f0dcb80 100644
--- a/funcs/func_pjsip_endpoint.c
+++ b/funcs/func_pjsip_endpoint.c
@@ -27,9 +27,9 @@
*/
/*** MODULEINFO
- core
pjproject
res_pjsip
+ core
***/
#include "asterisk.h"
diff --git a/res/res_remb_modifier.c b/res/res_remb_modifier.c
index bf56391dab..7d50c798ff 100644
--- a/res/res_remb_modifier.c
+++ b/res/res_remb_modifier.c
@@ -25,8 +25,8 @@
*/
/*** MODULEINFO
- extended
no
+ extended
***/
#include "asterisk.h"