aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-10-29 16:26:59 +0100
committerAnton Khirnov <anton@khirnov.net>2012-11-02 18:28:56 +0100
commitb3fab1f2cd22bfaee95831af57a65f803f03083c (patch)
treeab5be8965a9c01115abd20dcba3f59143ff75950 /doc/Makefile
parent34871beb5eb6bc59f5e58326a214efd88a4c2ccd (diff)
downloadffmpeg-b3fab1f2cd22bfaee95831af57a65f803f03083c.tar.gz
doc: add apidoc target for doxygen API documentation
Documentation includes only the externally visible API of the installed headers. Based on a patch by Anton Khirnov <anton@khirnov.net>. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 63530342b3..d22de79df5 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -14,6 +14,7 @@ DOCS = $(HTMLPAGES) $(MANPAGES) $(PODPAGES)
all-$(CONFIG_DOC): documentation
+apidoc: doc/doxy/html
documentation: $(DOCS)
TEXIDEP = awk '/^@include/ { printf "$@: $(@D)/%s\n", $$2 }' <$< >$(@:%=%.d)
@@ -39,7 +40,10 @@ doc/%.1: TAG = MAN
doc/%.1: doc/%.pod $(GENTEXI)
$(M)pod2man --section=1 --center=" " --release=" " $< > $@
-$(DOCS): | doc/
+$(DOCS) doc/doxy/html: | doc/
+
+doc/doxy/html: $(SRC_PATH)/doc/Doxyfile $(INSTHEADERS)
+ $(M)$(SRC_PATH)/doc/doxy-wrapper.sh $(SRC_PATH) $^
install-progs-$(CONFIG_DOC): install-man
@@ -54,7 +58,8 @@ uninstall-man:
clean::
$(RM) doc/*.html doc/*.pod doc/*.1 $(CLEANSUFFIXES:%=doc/%) doc/avoptions_*.texi
+ $(RM) -r doc/doxy/html
-include $(wildcard $(DOCS:%=%.d))
-.PHONY: documentation
+.PHONY: apidoc documentation