From 96f69e0eef290dc617c04a31972fb0e82f588711 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sat, 9 Jul 2016 10:25:05 -0300 Subject: [media] doc-rst: add CEC header file to the documentation Adding the header file is interesting for several reasons: 1) It makes MC documentation consistend with other parts; 2) The header file can be used as a quick index to all API elements; 3) The cross-reference check helps to identify symbols that aren't documented. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Documentation/media/Makefile') diff --git a/Documentation/media/Makefile b/Documentation/media/Makefile index cfab8e4f36e1..bcb9eb5921aa 100644 --- a/Documentation/media/Makefile +++ b/Documentation/media/Makefile @@ -2,10 +2,11 @@ PARSER = $(srctree)/Documentation/sphinx/parse-headers.pl UAPI = $(srctree)/include/uapi/linux +KAPI = $(srctree)/include/linux SRC_DIR=$(srctree)/Documentation/media FILES = audio.h.rst ca.h.rst dmx.h.rst frontend.h.rst net.h.rst video.h.rst \ - videodev2.h.rst media.h.rst + videodev2.h.rst media.h.rst cec.h.rst TARGETS := $(addprefix $(BUILDDIR)/, $(FILES)) @@ -49,5 +50,8 @@ $(BUILDDIR)/videodev2.h.rst: ${UAPI}/videodev2.h ${PARSER} $(SRC_DIR)/videodev2. $(BUILDDIR)/media.h.rst: ${UAPI}/media.h ${PARSER} $(SRC_DIR)/media.h.rst.exceptions @$($(quiet)gen_rst) +$(BUILDDIR)/cec.h.rst: ${KAPI}/cec.h ${PARSER} $(SRC_DIR)/cec.h.rst.exceptions + @$($(quiet)gen_rst) + cleandocs: -rm ${TARGETS} -- cgit v1.2.3