@@ -29,7 +29,7 @@ pkgconfig/libodp.pc
cscope.out
tags
lib/
-doxygen-doc
+doc/output
test-driver
core
.dirstamp
@@ -1,11 +1,8 @@
ACLOCAL_AMFLAGS=-I m4
AUTOMAKE_OPTIONS = foreign
-SUBDIRS = platform example test
+SUBDIRS = doc platform example test
include $(top_srcdir)/aminclude.am
EXTRA_DIST = bootstrap $(DX_CONFIG)
-
-clean-local:
- rm -rf $(top_builddir)/doxygen-doc
@@ -11,7 +11,7 @@ AM_SILENT_RULES([yes])
DX_HTML_FEATURE(ON)
DX_PDF_FEATURE(ON)
-DX_INIT_DOXYGEN($PACKAGE_NAME, doc/doxygen.cfg)
+DX_INIT_DOXYGEN($PACKAGE_NAME, doc/doxygen.cfg, doc/output)
# Checks for programs.
AC_PROG_CC
@@ -199,6 +199,7 @@ AC_CONFIG_FILES([Makefile
example/odp_example/Makefile
example/packet/Makefile
example/timer/Makefile
+ doc/Makefile
test/Makefile
test/api_test/Makefile
test/validation/Makefile
new file mode 100644
@@ -0,0 +1,23 @@
+noinst_docdatadir = ${datadir}/doc
+noinst_imagedir = ${datadir}/doc/images
+noinst_usersguidedir = ${datadir}/doc/users-guide
+
+noinst_docdata_DATA = \
+ $(srcdir)/doxygen.cfg \
+ $(srcdir)/odp.dox \
+ $(srcdir)/odpdoxygen.css
+
+noinst_image_DATA = \
+ $(srcdir)/images/ODP-Logo-HQ.png \
+ $(srcdir)/images/overview.eps \
+ $(srcdir)/images/overview.png
+
+noinst_usersguide_DATA = \
+ $(srcdir)/users-guide/guide.dox
+
+dist_noinst_docdata_DATA = ${noinst_docdata_DATA}
+dist_noinst_image_DATA = ${noinst_image_DATA}
+dist_noinst_usersguide_DATA = ${noinst_usersguide_DATA}
+
+clean-local:
+ rm -rf $(DX_DOCDIR)
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> --- .gitignore | 2 +- Makefile.am | 5 +---- configure.ac | 3 ++- doc/Makefile.am | 23 +++++++++++++++++++++++ 4 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 doc/Makefile.am