2016-07-07 03:21:37 +00:00
|
|
|
# Generate the *.h.rst files from uAPI headers
|
|
|
|
|
|
|
|
PARSER = ../sphinx/parse-headers.pl
|
|
|
|
UAPI = ../../include/uapi/linux
|
2016-07-07 11:28:43 +00:00
|
|
|
TARGETS = audio.h.rst ca.h.rst dmx.h.rst frontend.h.rst net.h.rst
|
2016-07-07 03:21:37 +00:00
|
|
|
|
2016-07-07 11:28:43 +00:00
|
|
|
htmldocs: ${TARGETS}
|
2016-07-07 03:21:37 +00:00
|
|
|
|
2016-07-07 10:42:18 +00:00
|
|
|
audio.h.rst: ${PARSER} ${UAPI}/dvb/audio.h audio.h.rst.exceptions
|
|
|
|
${PARSER} ${UAPI}/dvb/audio.h $@ audio.h.rst.exceptions
|
2016-07-07 03:21:37 +00:00
|
|
|
|
2016-07-07 10:51:03 +00:00
|
|
|
ca.h.rst: ${PARSER} ${UAPI}/dvb/ca.h ca.h.rst.exceptions
|
|
|
|
${PARSER} ${UAPI}/dvb/ca.h $@ ca.h.rst.exceptions
|
|
|
|
|
2016-07-07 10:11:46 +00:00
|
|
|
dmx.h.rst: ${PARSER} ${UAPI}/dvb/dmx.h dmx.h.rst.exceptions
|
|
|
|
${PARSER} ${UAPI}/dvb/dmx.h $@ dmx.h.rst.exceptions
|
|
|
|
|
2016-07-07 10:42:18 +00:00
|
|
|
frontend.h.rst: ${PARSER} ${UAPI}/dvb/frontend.h frontend.h.rst.exceptions
|
|
|
|
${PARSER} ${UAPI}/dvb/frontend.h $@ frontend.h.rst.exceptions
|
|
|
|
|
2016-07-07 11:28:43 +00:00
|
|
|
net.h.rst: ${PARSER} ${UAPI}/dvb/net.h net.h.rst.exceptions
|
|
|
|
${PARSER} ${UAPI}/dvb/net.h $@ net.h.rst.exceptions
|
|
|
|
|
|
|
|
cleandocs:
|
|
|
|
-rm ${TARGETS}
|