summaryrefslogtreecommitdiff
path: root/qpid/cpp/docs/api/Makefile.am
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-12-07 18:40:06 +0000
committerAlan Conway <aconway@apache.org>2006-12-07 18:40:06 +0000
commit257503fa74231c8a48015250635d4d547777315f (patch)
tree5526e06f5b841ecdb3f33507da84fcfdf63ab80e /qpid/cpp/docs/api/Makefile.am
parent80bb488c29ef21987ad340a12629e0bd8187b6c9 (diff)
downloadqpid-python-257503fa74231c8a48015250635d4d547777315f.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@483600 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/docs/api/Makefile.am')
-rw-r--r--qpid/cpp/docs/api/Makefile.am37
1 files changed, 37 insertions, 0 deletions
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)/*
+