From b4186824c20cbb5a18963d737f47718aed791e33 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 26 May 2018 17:25:11 +0200 Subject: ctrl: Add doxygen API documentation; generate html from it Closes: OS#3293 Change-Id: I8dc2f24d4bf557ff7bb0f2f46881f9f8d9d7f86f --- Makefile.am | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 60ec1f88..de5eb35d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -35,6 +35,7 @@ $(html_DATA): $(top_builddir)/doc/core/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/ctrl/html/index.html \ $(top_builddir)/doc/gb/html/index.html cd $(top_builddir)/doc && tar cf html.tar */html @@ -62,6 +63,11 @@ $(top_builddir)/doc/coding/html/index.html: Doxyfile.coding mkdir -p doc/coding $(DOXYGEN) Doxyfile.coding +$(top_builddir)/doc/ctrl/html/index.html: $(SOURCES) Doxyfile.ctrl + @rm -rf doc/ctrl + mkdir -p doc/ctrl + $(DOXYGEN) Doxyfile.ctrl + $(top_builddir)/doc/gb/html/index.html: $(SOURCES) Doxyfile.gb @rm -rf doc/gb mkdir -p doc/gb @@ -71,9 +77,9 @@ 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,gb} + cd $(DESTDIR)$(htmldir) && rm -rf {core,gsm,vty,codec,coding,ctrl,gb} -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 +DX_CLEAN = doc/{core,gsm,vty,codec,coding,ctrl,gb}/html/search/* doc/{core,gsm,vty,codec,coding,ctrl,gb}/{html,latex}/* doc/html.tar doc/{core,gsm,vty,codec,coding,ctrl,gb}/doxygen_sqlite3.db doc/*.tag endif MOSTLYCLEANFILES = $(DX_CLEAN) -- cgit v1.2.3