diff options
| author | 2015-01-23 14:42:18 +0100 | |
|---|---|---|
| committer | 2015-01-23 14:42:18 +0100 | |
| commit | 82a6acc44759a4b0afb8110d682bc32edc1fd602 (patch) | |
| tree | 1c8ae881a29c6df803ba4db198843a8a20ee1af4 | |
| parent | 6873c7ea5a28656bd9f64782412ca717335ef322 (diff) | |
| download | libplist-82a6acc44759a4b0afb8110d682bc32edc1fd602.tar.gz libplist-82a6acc44759a4b0afb8110d682bc32edc1fd602.tar.bz2 | |
Add generation of documentation using "make docs"
| -rw-r--r-- | Makefile.am | 9 | ||||
| -rw-r--r-- | 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 | |||
| 4 | 4 | ||
| 5 | pkgconfigdir = $(libdir)/pkgconfig | 5 | pkgconfigdir = $(libdir)/pkgconfig |
| 6 | pkgconfig_DATA = libplist.pc libplist++.pc | 6 | pkgconfig_DATA = libplist.pc libplist++.pc |
| 7 | |||
| 8 | docs/html: $(top_builddir)/doxygen.cfg $(top_srcdir)/include/plist/*.h | ||
| 9 | rm -rf docs | ||
| 10 | doxygen doxygen.cfg | ||
| 11 | |||
| 12 | docs: doxygen.cfg docs/html | ||
| 13 | |||
| 14 | clean-local: | ||
| 15 | 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 = | |||
| 534 | # directories like "/usr/src/myproject". Separate the files or directories | 534 | # directories like "/usr/src/myproject". Separate the files or directories |
| 535 | # with spaces. | 535 | # with spaces. |
| 536 | 536 | ||
| 537 | INPUT = src \ | 537 | INPUT = include/plist/plist.h |
| 538 | include/plist | ||
| 539 | 538 | ||
| 540 | # This tag can be used to specify the character encoding of the source files | 539 | # This tag can be used to specify the character encoding of the source files |
| 541 | # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is | 540 | # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is |
