linux/Documentation/sphinx
Mauro Carvalho Chehab 686b0d9bb4 tmplcvt: make the tool more robust
Currently, the script just assumes to be called at
Documentation/sphinx/. Change it to work on any directory,
and make it abort if something gets wrong.

Also, be sure that both parameters are specified.

That should avoid troubles like this:

$ Documentation/sphinx/tmplcvt Documentation/DocBook/writing_usb_driver.tmpl
sed: couldn't open file convert_template.sed: No such file or directory

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2017-04-11 14:35:15 -06:00
..
cdomain.py Use sphinx.version_info directly instead of parsing 2017-03-31 09:19:37 -06:00
convert_template.sed
kernel_include.py
kerneldoc.py Documentation/sphinx: rename kernel-doc.py to kerneldoc.py 2016-10-19 16:02:00 -06:00
kfigure.py docs-rst: automatically convert Graphviz and SVG images 2017-03-09 02:59:26 -07:00
load_config.py
parse-headers.pl docs-rst: parse-headers.pl: cleanup the documentation 2016-11-30 17:08:09 -07:00
post_convert.sed
rstFlatTable.py docs: sphinx-extensions: make rstFlatTable work with docutils 0.13 2016-12-18 13:30:29 -07:00
tmplcvt tmplcvt: make the tool more robust 2017-04-11 14:35:15 -06:00