summaryrefslogtreecommitdiff
path: root/Documentation/media/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-09 10:25:05 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-09 11:07:10 -0300
commit96f69e0eef290dc617c04a31972fb0e82f588711 (patch)
tree8ffdcbd62275b6e6cc739602dd24f9048a7fd2dc /Documentation/media/Makefile
parent6a6e8090069d0f026261cb53b574401acf0e42d0 (diff)
[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 <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/Makefile')
-rw-r--r--Documentation/media/Makefile6
1 files changed, 5 insertions, 1 deletions
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}