new file mode 100644
@@ -0,0 +1,5 @@
+PROJECT_NAME = "ODP Architecture"
+OUTPUT_DIRECTORY = ./doc
+OPTIMIZE_OUTPUT_FOR_C = YES
+EXTRACT_ALL = YES
+GENERATE_TREEVIEW = YES
new file mode 100644
@@ -0,0 +1,36 @@
+# Copyright (c) 2013, Linaro Limited
+# All rights reserved
+# SPDX-License-Identifier: BSD-3-Clause
+
+MKDIR := mkdir -p
+RMDIR := rm -rf
+
+.DEFAULT_GOAL := docs
+
+DOC_DIR = ./doc
+
+.PHONY: all
+all: docs
+
+$(DOC_DIR):
+ $(MKDIR) $(DOC_DIR)/html
+ $(MKDIR) $(DOC_DIR)/latex
+
+clean:
+ $(RMDIR) $(DOC_DIR)
+ $(RM) Doxyfile
+
+Doxyfile: Doxyfile.in
+ doxygen -u - < $< > $@
+
+.PHONY: docs
+docs: $(DOC_DIR) Doxyfile
+ doxygen
+
+.PHONY: docs_install
+docs_install: docs
+ $(COPY) doc $(DESTDIR)
+
+.PHONY: pdf
+pdf: docs
+ make --directory doc/latex refman.pdf 1> /dev/null
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> --- Doxyfile.in | 5 +++++ Makefile | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 Doxyfile.in create mode 100644 Makefile