summaryrefslogtreecommitdiffstats
path: root/Documentation/linux_tv/Makefile
blob: 068e26e0cc6fd43f15fe21ba396c6985584513b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Generate the *.h.rst files from uAPI headers

PARSER = ../sphinx/parse-headers.pl
UAPI = ../../include/uapi/linux
TARGETS = audio.h.rst ca.h.rst dmx.h.rst frontend.h.rst net.h.rst video.h.rst \
	  videodev2.h.rst

htmldocs: ${TARGETS}

audio.h.rst: ${PARSER} ${UAPI}/dvb/audio.h  audio.h.rst.exceptions
	${PARSER} ${UAPI}/dvb/audio.h $@ audio.h.rst.exceptions

ca.h.rst: ${PARSER} ${UAPI}/dvb/ca.h  ca.h.rst.exceptions
	${PARSER} ${UAPI}/dvb/ca.h $@ ca.h.rst.exceptions

dmx.h.rst: ${PARSER} ${UAPI}/dvb/dmx.h  dmx.h.rst.exceptions
	${PARSER} ${UAPI}/dvb/dmx.h $@ dmx.h.rst.exceptions

frontend.h.rst: ${PARSER} ${UAPI}/dvb/frontend.h  frontend.h.rst.exceptions
	${PARSER} ${UAPI}/dvb/frontend.h $@ frontend.h.rst.exceptions

net.h.rst: ${PARSER} ${UAPI}/dvb/net.h  net.h.rst.exceptions
	${PARSER} ${UAPI}/dvb/net.h $@ net.h.rst.exceptions

video.h.rst: ${PARSER} ${UAPI}/dvb/video.h  video.h.rst.exceptions
	${PARSER} ${UAPI}/dvb/video.h $@ video.h.rst.exceptions

videodev2.h.rst: ${UAPI}/videodev2.h ${PARSER} videodev2.h.rst.exceptions
	${PARSER} ${UAPI}/videodev2.h $@ videodev2.h.rst.exceptions

cleandocs:
	-rm ${TARGETS}