From 82a6acc44759a4b0afb8110d682bc32edc1fd602 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Fri, 23 Jan 2015 14:42:18 +0100 Subject: Add generation of documentation using "make docs" --- Makefile.am | 9 +++++++++ doxygen.cfg.in | 3 +-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 2ae4e76..9158682 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,3 +4,12 @@ SUBDIRS = libcnary src include tools $(CYTHON_SUB) test pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libplist.pc libplist++.pc + +docs/html: $(top_builddir)/doxygen.cfg $(top_srcdir)/include/plist/*.h + rm -rf docs + doxygen doxygen.cfg + +docs: doxygen.cfg docs/html + +clean-local: + rm -rf docs diff --git a/doxygen.cfg.in b/doxygen.cfg.in index bb1aa13..9ed1b14 100644 --- a/doxygen.cfg.in +++ b/doxygen.cfg.in @@ -534,8 +534,7 @@ WARN_LOGFILE = # directories like "/usr/src/myproject". Separate the files or directories # with spaces. -INPUT = src \ - include/plist +INPUT = include/plist/plist.h # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is -- cgit v1.1-32-gdbae