From 257503fa74231c8a48015250635d4d547777315f Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 7 Dec 2006 18:40:06 +0000 Subject: Added "make html" target to build doxygen documentation in docs/api/html. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@483600 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/docs/api/Makefile.am | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 qpid/cpp/docs/api/Makefile.am (limited to 'qpid/cpp/docs/api/Makefile.am') diff --git a/qpid/cpp/docs/api/Makefile.am b/qpid/cpp/docs/api/Makefile.am new file mode 100644 index 0000000000..22a2efe8b3 --- /dev/null +++ b/qpid/cpp/docs/api/Makefile.am @@ -0,0 +1,37 @@ + +html: Doxyfile doxygen.tstamp + +# TODO aconway 2006-12-07: devdoc target to generate doc for all +# headers, with private/protected functions. + +SOURCES = \ + $(wildcard $(topsrcdir)/gen/*.h) \ + $(wildcard $(topsrcdir)/lib/common/*.h) \ + $(wildcard $(topsrcdir)/lib/common/sys/*.h) \ + $(wildcard $(topsrcdir)/lib/common/framing/*.h) \ + $(wildcard $(topsrcdir)/lib/client/*.h) + +doxygen.tstamp: $(SOURCES) + doxygen + touch $@ + +clean-local: + rm -rf docs.tstamp html man latex doxygen.tstamp xml + +HTML_TARGET_DIR=$(pkgdatadir)/api/html + +install-data-local: + installfiles=`echo html/*`; \ + if test "$$installfiles" = 'html/*'; \ + then echo '-- Nothing to install' ; \ + else \ + $(mkinstalldirs) $(DESTDIR)$(HTML_TARGET_DIR); \ + for i in $$installfiles; do \ + echo '-- Installing '$$i ; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(HTML_TARGET_DIR); \ + done; \ + fi + +uninstall-local: + rm -f $(DESTDIR)$(HTML_TARGET_DIR)/* + -- cgit v1.2.1