summaryrefslogtreecommitdiff
path: root/qpid/cpp/docs/api/doxygen_mk.sh
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-04-10 22:36:12 +0000
committerAlan Conway <aconway@apache.org>2007-04-10 22:36:12 +0000
commit8dc84a11caf5cc50768f996864139b29af7626c8 (patch)
treec96280bde11d54678bb6adf11e7dc3ff7ee31a0a /qpid/cpp/docs/api/doxygen_mk.sh
parentfaf86c6e5f484feef6102533b177202282b7f091 (diff)
downloadqpid-python-8dc84a11caf5cc50768f996864139b29af7626c8.tar.gz
* docs/api/*: Fixed API doc generation to work with VPATH builds.
* src/Makefile.am: - Added missing .h files in distribution. * src & tests Makefile.am: - Made generated .mk fragments maintaner-clean, not distclean, otherwise distclean followed by a VPATH build fails. * cpp/src/tests/quick_topictest: cat error log on failure. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@527325 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/docs/api/doxygen_mk.sh')
-rwxr-xr-xqpid/cpp/docs/api/doxygen_mk.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/qpid/cpp/docs/api/doxygen_mk.sh b/qpid/cpp/docs/api/doxygen_mk.sh
new file mode 100755
index 0000000000..ba65531e04
--- /dev/null
+++ b/qpid/cpp/docs/api/doxygen_mk.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# Generate makefile for doxygen with dependencies on source files.
+#
+
+deps() {
+ find "$top_srcdir/src" -name "$2" -exec echo -ne '\\\n {} ' \;
+ echo ; echo
+}
+
+cat <<EOF
+html: user.doxygen
+ doxygen $srcdir/user.doxygen
+html-dev: developer.doxygen
+ doxygen $srcdir/developer.doxygen
+EOF
+
+deps "html: " "*.h"
+deps "html-dev: html " "*.cpp"