summaryrefslogtreecommitdiff
path: root/cpp/docs
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/docs')
-rw-r--r--cpp/docs/api/Makefile.am16
-rwxr-xr-xcpp/docs/api/doxygen_mk.sh19
2 files changed, 5 insertions, 30 deletions
diff --git a/cpp/docs/api/Makefile.am b/cpp/docs/api/Makefile.am
index c1cc118d58..adc7a5d8b3 100644
--- a/cpp/docs/api/Makefile.am
+++ b/cpp/docs/api/Makefile.am
@@ -3,22 +3,16 @@
# Generate dependency files so its rebuilt only when needed.
#
-EXTRA_DIST = html user.doxygen developer.doxygen
-
-dist-hook: html
+# TODO aconway 2007-04-12: html should have a
+# dependency on source/header files.
-src=$(top_srcdir)/src
+EXTRA_DIST = html user.doxygen developer.doxygen
-headers: $(src)/*.h $(src)/*/*.h $(src)/*/*/*.h
-sources: $(src)/*.cpp $(src)/*/*.cpp $(src)/*/*/*.cpp
+html: html.timestamp
-html: headers user.doxygen
+html.timestamp:
doxygen user.doxygen
touch $@
-html-dev: headers sources developer.doxygen
- doxygen developer.doxygen
- touch $@
-
clean-local:
rm -rf html html-dev
diff --git a/cpp/docs/api/doxygen_mk.sh b/cpp/docs/api/doxygen_mk.sh
deleted file mode 100755
index ba65531e04..0000000000
--- a/cpp/docs/api/doxygen_mk.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/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"