# 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}