Commit 580e96c7 authored by Markus Heiser's avatar Markus Heiser Committed by Mauro Carvalho Chehab

doc-rst: auto-generate: fixed include "output/*.h.rst" content

Include auto-generate reST header files. BTW fixed linux_tv/Makefile.
Signed-off-by: default avatarMarkus Heiser <markus.heiser@darmarIT.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 573720f0
...@@ -9,7 +9,10 @@ FILES = audio.h.rst ca.h.rst dmx.h.rst frontend.h.rst net.h.rst video.h.rst \ ...@@ -9,7 +9,10 @@ FILES = audio.h.rst ca.h.rst dmx.h.rst frontend.h.rst net.h.rst video.h.rst \
TARGETS := $(addprefix $(BUILDDIR)/, $(FILES)) TARGETS := $(addprefix $(BUILDDIR)/, $(FILES))
htmldocs: ${TARGETS} htmldocs: $(BUILDDIR) ${TARGETS}
$(BUILDDIR):
$(Q)mkdir -p $@
# Rule to convert a .h file to inline RST documentation # Rule to convert a .h file to inline RST documentation
...@@ -40,7 +43,7 @@ $(BUILDDIR)/net.h.rst: ${UAPI}/dvb/net.h ${PARSER} $(SRC_DIR)/net.h.rst.exceptio ...@@ -40,7 +43,7 @@ $(BUILDDIR)/net.h.rst: ${UAPI}/dvb/net.h ${PARSER} $(SRC_DIR)/net.h.rst.exceptio
$(BUILDDIR)/video.h.rst: ${UAPI}/dvb/video.h ${PARSER} $(SRC_DIR)/video.h.rst.exceptions $(BUILDDIR)/video.h.rst: ${UAPI}/dvb/video.h ${PARSER} $(SRC_DIR)/video.h.rst.exceptions
@$($(quiet)gen_rst) @$($(quiet)gen_rst)
videodev2.h.rst: ${UAPI}/videodev2.h ${PARSER} $(SRC_DIR)/videodev2.h.rst.exceptions $(BUILDDIR)/videodev2.h.rst: ${UAPI}/videodev2.h ${PARSER} $(SRC_DIR)/videodev2.h.rst.exceptions
@$($(quiet)gen_rst) @$($(quiet)gen_rst)
cleandocs: cleandocs:
......
...@@ -6,8 +6,4 @@ ...@@ -6,8 +6,4 @@
DVB Audio Header File DVB Audio Header File
********************* *********************
.. include:: ../../../output/audio.h.rst
.. toctree::
:maxdepth: 1
../../audio.h
...@@ -6,8 +6,4 @@ ...@@ -6,8 +6,4 @@
DVB Conditional Access Header File DVB Conditional Access Header File
********************************** **********************************
.. include:: ../../../output/ca.h.rst
.. toctree::
:maxdepth: 1
../../ca.h
...@@ -6,8 +6,4 @@ ...@@ -6,8 +6,4 @@
DVB Demux Header File DVB Demux Header File
********************* *********************
.. include:: ../../../output/dmx.h.rst
.. toctree::
:maxdepth: 1
../../dmx.h
...@@ -6,8 +6,4 @@ ...@@ -6,8 +6,4 @@
DVB Frontend Header File DVB Frontend Header File
************************ ************************
.. include:: ../../../output/frontend.h.rst
.. toctree::
:maxdepth: 1
../../frontend.h
...@@ -6,8 +6,4 @@ ...@@ -6,8 +6,4 @@
DVB Network Header File DVB Network Header File
*********************** ***********************
.. include:: ../../../output/net.h.rst
.. toctree::
:maxdepth: 1
../../net.h
...@@ -6,8 +6,4 @@ ...@@ -6,8 +6,4 @@
DVB Video Header File DVB Video Header File
********************* *********************
.. include:: ../../../output/video.h.rst
.. toctree::
:maxdepth: 1
../../video.h
...@@ -6,8 +6,4 @@ ...@@ -6,8 +6,4 @@
Video For Linux Two Header File Video For Linux Two Header File
******************************* *******************************
.. include:: ../../../output/videodev2.h.rst
.. toctree::
:maxdepth: 1
../../videodev2.h
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment