summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2015-01-23 14:42:18 +0100
committerGravatar Martin Szulecki2015-01-23 14:42:18 +0100
commit82a6acc44759a4b0afb8110d682bc32edc1fd602 (patch)
tree1c8ae881a29c6df803ba4db198843a8a20ee1af4
parent6873c7ea5a28656bd9f64782412ca717335ef322 (diff)
downloadlibplist-82a6acc44759a4b0afb8110d682bc32edc1fd602.tar.gz
libplist-82a6acc44759a4b0afb8110d682bc32edc1fd602.tar.bz2
Add generation of documentation using "make docs"
-rw-r--r--Makefile.am9
-rw-r--r--doxygen.cfg.in3
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