Documentation: Fix DocBook build with relative $(srctree)
authorMichal Marek <mmarek@suse.cz>
Wed, 18 Jun 2014 15:15:17 +0000 (17:15 +0200)
committerMichal Marek <mmarek@suse.cz>
Wed, 18 Jun 2014 17:21:42 +0000 (19:21 +0200)
commita981296f048b99b0d5bb4d87c732a6cfb35a1c66
tree259dc71da9737034ef7f352cafb66d4724fa8331
parentc7eb3a7a1790e0a3a063b4183894d0d63ffee431
Documentation: Fix DocBook build with relative $(srctree)

After commits 890676c6 (kbuild: Use relative path when building in the source
tree) and 9da0763b (kbuild: Use relative path when building in a subdir
of the source tree), the $(srctree) variable can be a relative path.
This breaks Documentation/DocBook/media/Makefile, because it tries to
create symlinks from a subdirectory of the object tree to the source
tree. Fix this by using a full path in this case.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Documentation/DocBook/media/Makefile