]> git.baikalelectronics.ru Git - kernel.git/commit
DocBook: Fix non-determinstic installation of duplicate man pages
authorBen Hutchings <ben@decadent.org.uk>
Thu, 6 Aug 2015 22:36:52 +0000 (23:36 +0100)
committerJonathan Corbet <corbet@lwn.net>
Fri, 14 Aug 2015 17:07:34 +0000 (11:07 -0600)
commit997bdc268f1e00f19959b83f1a1316750fe156b3
treebdadbf357b74f4ee4d89d859efe4050abe0bb600
parent266963e111c785ed6e75ea9544864c754e6928b7
DocBook: Fix non-determinstic installation of duplicate man pages

Some kernel-doc sections are included in multiple DocBook files.  This
means the mandocs target will generate the same manual page multiple
times with different metadata (author name/address and manual title,
taken from the including DocBook file).  If it's invoked in a parallel
build, the output is non-determinstic.

Build the manual pages in a separate subdirectory per DocBook file,
then sort and de-duplicate when installing them (which is serialised).

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
[jc: fixed conflicts with the docs tree]
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/DocBook/Makefile