summaryrefslogtreecommitdiff
path: root/Documentation/linux_tv/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-07 00:21:37 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-07 06:36:45 -0300
commit1ae6439538082f2be3e82364ffd85a05271cb832 (patch)
treeb9ecc110360d50b96dea9945e8b8a388f58a52f0 /Documentation/linux_tv/Makefile
parentdabf8be33bbd8675d44925de7428d3fa86f1d6f3 (diff)
downloadlwn-1ae6439538082f2be3e82364ffd85a05271cb832.tar.gz
lwn-1ae6439538082f2be3e82364ffd85a05271cb832.zip
doc-rst: auto-build the frontend.h.rst
This file is auto-generated with DocBook, from the uapi header. Do the same with Sphinx. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/linux_tv/Makefile')
-rw-r--r--Documentation/linux_tv/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/linux_tv/Makefile b/Documentation/linux_tv/Makefile
new file mode 100644
index 000000000000..d5570193ea30
--- /dev/null
+++ b/Documentation/linux_tv/Makefile
@@ -0,0 +1,12 @@
+# Generate the *.h.rst files from uAPI headers
+
+PARSER = ../sphinx/parse-headers.pl
+UAPI = ../../include/uapi/linux
+
+htmldocs: frontend.h.rst
+
+frontend.h.rst: ${PARSER} ${UAPI}/dvb/frontend.h frontend.h.rst.exceptions
+ ${PARSER} ${UAPI}/dvb/frontend.h $@ frontend.h.rst.exceptions
+
+clean:
+ -rm frontend.h.rst