From: Ben Hutchings Date: Thu, 6 Aug 2015 22:36:52 +0000 (+0100) Subject: DocBook: Fix non-determinstic installation of duplicate man pages X-Git-Tag: omap-for-v4.3/fixes-merge-window~35^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ed71e7ad95eb9885420e8d33f33bd4d49e1b775;p=pandora-kernel.git 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 [jc: fixed conflicts with the docs tree] Signed-off-by: Jonathan Corbet --- Reading git-diff-tree failed