doc-rst: auto-generate: fixed include "output/*.h.rst" content
authorMarkus Heiser <markus.heiser@darmarIT.de>
Fri, 8 Jul 2016 12:15:03 +0000 (14:15 +0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Jul 2016 12:31:04 +0000 (09:31 -0300)
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>
Documentation/linux_tv/Makefile
Documentation/linux_tv/media/dvb/audio_h.rst
Documentation/linux_tv/media/dvb/ca_h.rst
Documentation/linux_tv/media/dvb/dmx_h.rst
Documentation/linux_tv/media/dvb/frontend_h.rst
Documentation/linux_tv/media/dvb/net_h.rst
Documentation/linux_tv/media/dvb/video_h.rst
Documentation/linux_tv/media/v4l/videodev.rst

index 639b994a50f6aad6924031bdf0ca946db2f02981..688e37d7b2328b69dc03376ea3e4b2a8dbf4a227 100644 (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:
index bdd9a709a1252ab9ab3be2814a7eeddaab345ebe..d87be5e2b02259e02db89ba7d58ee4087ff61061 100644 (file)
@@ -6,8 +6,4 @@
 DVB Audio Header File
 *********************
 
-
-.. toctree::
-    :maxdepth: 1
-
-    ../../audio.h
+.. include:: ../../../output/audio.h.rst
index a7d22154022b9881da61d5f92326142a0448390c..407f840ae2ee177781b55617dcb465dfa7fead6a 100644 (file)
@@ -6,8 +6,4 @@
 DVB Conditional Access Header File
 **********************************
 
-
-.. toctree::
-    :maxdepth: 1
-
-    ../../ca.h
+.. include:: ../../../output/ca.h.rst
index baf129dd078b402412478913004eeae451d3bb77..65ee8f095972cea251bb312f81bddf11864ee8f9 100644 (file)
@@ -6,8 +6,4 @@
 DVB Demux Header File
 *********************
 
-
-.. toctree::
-    :maxdepth: 1
-
-    ../../dmx.h
+.. include:: ../../../output/dmx.h.rst
index 7101d6ddd916aa4a5f0db0200090fff1b28e139d..97735b241f3c1546f6b8ed5c234f071022c9a078 100644 (file)
@@ -6,8 +6,4 @@
 DVB Frontend Header File
 ************************
 
-
-.. toctree::
-    :maxdepth: 1
-
-    ../../frontend.h
+.. include:: ../../../output/frontend.h.rst
index 09560db4e1c067b9d80b619f32319519fdc9c790..5a5a797882f212756565af58d15bfd7963717434 100644 (file)
@@ -6,8 +6,4 @@
 DVB Network Header File
 ***********************
 
-
-.. toctree::
-    :maxdepth: 1
-
-    ../../net.h
+.. include:: ../../../output/net.h.rst
index 45c12d29552386c7a7fc625c3c168b07264d0199..9d649a7e0f8b7e923c88ccfda4a7a6902d482997 100644 (file)
@@ -6,8 +6,4 @@
 DVB Video Header File
 *********************
 
-
-.. toctree::
-    :maxdepth: 1
-
-    ../../video.h
+.. include:: ../../../output/video.h.rst
index 4826416b2ab49bd56195b3395e8781fdd79a82fd..82bac4a0b76024b1744eebf0125f43d66ed69c5a 100644 (file)
@@ -6,8 +6,4 @@
 Video For Linux Two Header File
 *******************************
 
-
-.. toctree::
-    :maxdepth: 1
-
-    ../../videodev2.h
+.. include:: ../../../output/videodev2.h.rst