doxygen: add missing gb API doc generation

Files in include/osmocom/gprs/ and src/gb/ are not included in any doxygen
generated API docs. Add Doxyfile.gb.in and adjust configure.ac and Makefile.am.

Change-Id: Ieb64f497f55368e396872083237c9ff28da2dd93
This commit is contained in:
Neels Hofmeyr 2017-06-20 02:52:38 +02:00
parent 51816479bc
commit 249fb71a2e
4 changed files with 1730 additions and 3 deletions

2
.gitignore vendored
View File

@ -38,6 +38,7 @@ Doxyfile.gsm
Doxyfile.vty
Doxyfile.codec
Doxyfile.coding
Doxyfile.gb
debian/autoreconf.after
debian/autoreconf.before
@ -115,6 +116,7 @@ doc/vty/latex
doc/vty/html
doc/vty/doxygen_sqlite3.db
doc/gsm
doc/gb
doc/html.tar
doc/*.tag
tags

1716
Doxyfile.gb.in Normal file

File diff suppressed because it is too large Load Diff

View File

@ -19,11 +19,14 @@ if HAVE_DOXYGEN
html_DATA = $(top_builddir)/doc/html.tar
doc: $(html_DATA)
$(html_DATA): $(top_builddir)/doc/core/html/index.html \
$(top_builddir)/doc/gsm/html/index.html \
$(top_builddir)/doc/vty/html/index.html \
$(top_builddir)/doc/codec/html/index.html \
$(top_builddir)/doc/coding/html/index.html
$(top_builddir)/doc/coding/html/index.html \
$(top_builddir)/doc/gb/html/index.html
cd $(top_builddir)/doc && tar cf html.tar */html
$(top_builddir)/doc/core/html/index.html: $(SOURCES) Doxyfile.core
@ -50,13 +53,18 @@ $(top_builddir)/doc/coding/html/index.html: Doxyfile.coding
mkdir -p doc/coding
$(DOXYGEN) Doxyfile.coding
$(top_builddir)/doc/gb/html/index.html: $(SOURCES) Doxyfile.gb
@rm -rf doc/gb
mkdir -p doc/gb
$(DOXYGEN) Doxyfile.gb
install-data-hook:
cd $(DESTDIR)$(htmldir) && tar xf html.tar && rm -f html.tar
uninstall-hook:
cd $(DESTDIR)$(htmldir) && rm -rf {core,gsm,vty,codec,coding}
cd $(DESTDIR)$(htmldir) && rm -rf {core,gsm,vty,codec,coding,gb}
DX_CLEAN = doc/{core,gsm,vty,codec,coding}/html/search/* doc/{core,gsm,vty,codec,coding}/{html,latex}/* doc/html.tar doc/{core,gsm,vty,codec,coding}/doxygen_sqlite3.db doc/*.tag
DX_CLEAN = doc/{core,gsm,vty,codec,coding,gb}/html/search/* doc/{core,gsm,vty,codec,coding,gb}/{html,latex}/* doc/html.tar doc/{core,gsm,vty,codec,coding,gb}/doxygen_sqlite3.db doc/*.tag
endif
MOSTLYCLEANFILES = $(DX_CLEAN)

View File

@ -308,4 +308,5 @@ AC_OUTPUT(
Doxyfile.vty
Doxyfile.codec
Doxyfile.coding
Doxyfile.gb
Makefile)