diff options
| author | Alan Conway <aconway@apache.org> | 2006-12-07 18:40:06 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2006-12-07 18:40:06 +0000 |
| commit | 8acccbfa9493064e2bb6d38b830c1814ca0dc463 (patch) | |
| tree | 9a90a145d24ffe014c0a6f3ff6fcbd74d55d0e07 /cpp/docs/api/Makefile.am | |
| parent | b5f9d52979afa9097b20a3210145e5f732ae0b12 (diff) | |
| download | qpid-python-8acccbfa9493064e2bb6d38b830c1814ca0dc463.tar.gz | |
Added "make html" target to build doxygen documentation in docs/api/html.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483600 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/docs/api/Makefile.am')
| -rw-r--r-- | cpp/docs/api/Makefile.am | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/cpp/docs/api/Makefile.am b/cpp/docs/api/Makefile.am new file mode 100644 index 0000000000..22a2efe8b3 --- /dev/null +++ b/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)/* + |
