[FFmpeg-cvslog] build: doxy: Include code examples in Doxygen documentation
Diego Biurrun
git at videolan.org
Fri Feb 14 15:29:56 CET 2014
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Feb 11 18:38:03 2014 +0100| [3a26ccbf0d9f806d067e76a3f484170abecb36b3] | committer: Diego Biurrun
build: doxy: Include code examples in Doxygen documentation
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3a26ccbf0d9f806d067e76a3f484170abecb36b3
---
doc/Makefile | 2 +-
library.mak | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/Makefile b/doc/Makefile
index cf3fbab..6af8116 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -57,7 +57,7 @@ $(DOCS) doc/doxy/html: | doc/
$(DOC_EXAMPLES:%$(EXESUF)=%.o): | doc/examples
OBJDIRS += doc/examples
-DOXY_INPUT = $(addprefix $(SRC_PATH)/, $(INSTHEADERS))
+DOXY_INPUT = $(addprefix $(SRC_PATH)/, $(INSTHEADERS) $(DOC_EXAMPLES:%$(EXESUF)=%.c) $(LIB_EXAMPLES:%$(EXESUF)=%.c))
DOXY_TEMPLATES = doxy_stylesheet.css footer.html header.html
DOXY_TEMPLATES := $(addprefix $(SRC_PATH)/doc/doxy/, $(DOXY_TEMPLATES))
diff --git a/library.mak b/library.mak
index 3876fe3..800c5e0 100644
--- a/library.mak
+++ b/library.mak
@@ -5,6 +5,7 @@ LIBMAJOR := $(lib$(NAME)_VERSION_MAJOR)
LIBMINOR := $(lib$(NAME)_VERSION_MINOR)
INCINSTDIR := $(INCDIR)/lib$(NAME)
+LIB_EXAMPLES := $(LIB_EXAMPLES) $(EXAMPLES)
INSTHEADERS := $(INSTHEADERS) $(HEADERS:%=$(SUBDIR)%)
all-$(CONFIG_STATIC): $(SUBDIR)$(LIBNAME)
More information about the ffmpeg-cvslog
mailing list