1
0
Fork 0

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

Include auto-generate reST header files. BTW fixed linux_tv/Makefile.

Signed-off-by: Markus Heiser <markus.heiser@darmarIT.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
hifive-unleashed-5.1
Markus Heiser 2016-07-08 14:15:03 +02:00 committed by Mauro Carvalho Chehab
parent 573720f07b
commit 580e96c78b
8 changed files with 12 additions and 37 deletions

View File

@ -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))
htmldocs: ${TARGETS}
htmldocs: $(BUILDDIR) ${TARGETS}
$(BUILDDIR):
$(Q)mkdir -p $@
# 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
$(BUILDDIR)/video.h.rst: ${UAPI}/dvb/video.h ${PARSER} $(SRC_DIR)/video.h.rst.exceptions
@$($(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)
cleandocs:

View File

@ -6,8 +6,4 @@
DVB Audio Header File
*********************
.. toctree::
:maxdepth: 1
../../audio.h
.. include:: ../../../output/audio.h.rst

View File

@ -6,8 +6,4 @@
DVB Conditional Access Header File
**********************************
.. toctree::
:maxdepth: 1
../../ca.h
.. include:: ../../../output/ca.h.rst

View File

@ -6,8 +6,4 @@
DVB Demux Header File
*********************
.. toctree::
:maxdepth: 1
../../dmx.h
.. include:: ../../../output/dmx.h.rst

View File

@ -6,8 +6,4 @@
DVB Frontend Header File
************************
.. toctree::
:maxdepth: 1
../../frontend.h
.. include:: ../../../output/frontend.h.rst

View File

@ -6,8 +6,4 @@
DVB Network Header File
***********************
.. toctree::
:maxdepth: 1
../../net.h
.. include:: ../../../output/net.h.rst

View File

@ -6,8 +6,4 @@
DVB Video Header File
*********************
.. toctree::
:maxdepth: 1
../../video.h
.. include:: ../../../output/video.h.rst

View File

@ -6,8 +6,4 @@
Video For Linux Two Header File
*******************************
.. toctree::
:maxdepth: 1
../../videodev2.h
.. include:: ../../../output/videodev2.h.rst