Em Thu, 30 Mar 2017 07:45:35 -0300 Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx> escreveu: > 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@xxxxxxxxxxxxxxxx> Forgot to mention. The entire USB book, after this patch series, generated with Sphinx 1.4.9, can be seen, in HTML, at: http://www.infradead.org/~mchehab/kernel_docs/driver-api/usb/index.html Thanks, Mauro