Documentation: Avoid creating man pages in source tree
authorBen Hutchings <ben@decadent.org.uk>
Tue, 1 Sep 2015 22:48:49 +0000 (23:48 +0100)
committerJonathan Corbet <corbet@lwn.net>
Sun, 13 Sep 2015 20:38:50 +0000 (14:38 -0600)
commit68f86662380c343317325c024d6a35221f1908ac
treec361decb58dded445a6ce5b4a7ca8df26dcd6a1d
parentdf5f0b6efb20be669ad356eba675706d4cda2d0b
Documentation: Avoid creating man pages in source tree

Currently kernel-doc generates a dummy DocBook file when asked to
convert a C source file with no structured comments.  For an
out-of-tree build (objtree != srctree), the title of the output file
is the absolute path name of the C source file, which later results
in a manual page being created alongside the C source file.

Change the title to be a relative path.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/kernel-doc