Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
dist_man_MANS = babeltrace.1 babeltrace-log.1
-dist_doc_DATA = API.txt lttng-live.txt ref-counting.md logging-guide.adoc
-
-EXTRA_DIST = development.txt
+EXTRA_DIST = development.txt logging-guide.adoc ref-counting.md API.txt lttng-live.txt
logging-guide.html: logging-guide.adoc
asciidoc --verbose -a source-highlighter=pygments logging-guide.adoc
+API_DOC_INSTALL_DIR = "$(DESTDIR)$(docdir)/api"
+
all-local: doxygen-doc
install-data-local: doxygen-doc
- cp -rv output/html "$(DESTDIR)$(docdir)/api"
+ $(mkdir_p) "$(API_DOC_INSTALL_DIR)"
+ cp -rv output/html "$(API_DOC_INSTALL_DIR)"
@DX_RULES@
-dist_doc_DATA = bt-ref01.svg bt-ref02.svg bt-ref03.svg bt-ref04.svg \
+EXTRA_DIST = bt-ref01.svg bt-ref02.svg bt-ref03.svg bt-ref04.svg \
bt-ref05.svg bt-ref06.svg bt-ref07.svg bt-ref08.svg \
bt-ref09.svg bt-ref10.svg bt-ref11.svg bt-ref12.svg \
bt-ref13.svg