summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.modinst
diff options
context:
space:
mode:
authorMike Rapoport <rppt@linux.ibm.com>2019-06-24 08:25:07 +0300
committerJonathan Corbet <corbet@lwn.net>2019-06-26 16:08:21 -0600
commit8c69b77a0175d6e14df9cdf386a8b69f6cfa2c6a (patch)
tree3a321c559bdeceebe5c312fb13960f1ac41f7495 /scripts/Makefile.modinst
parentb4f4174ae982dfc855c56e91776920e0166da1bf (diff)
downloadlinux-8c69b77a0175d6e14df9cdf386a8b69f6cfa2c6a.tar.bz2
scripts/sphinx-pre-install: fix out-of-tree build
Build of htmldocs fails for out-of-tree builds: $ make V=1 O=~/build/kernel/ htmldocs make -C /home/rppt/build/kernel -f /home/rppt/git/linux-docs/Makefile htmldocs make[1]: Entering directory '/home/rppt/build/kernel' make -f /home/rppt/git/linux-docs/scripts/Makefile.build obj=scripts/basic rm -f .tmp_quiet_recordmcount make -f /home/rppt/git/linux-docs/scripts/Makefile.build obj=Documentation htmldocs Can't open Documentation/conf.py at /home/rppt/git/linux-docs/scripts/sphinx-pre-install line 230. /home/rppt/git/linux-docs/Documentation/Makefile:80: recipe for target 'htmldocs' failed make[2]: *** [htmldocs] Error 2 The scripts/sphinx-pre-install is trying to open files in the current directory which is $KBUILD_OUTPUT rather than in $srctree. Fix it. Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Reviewed-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts/Makefile.modinst')
0 files changed, 0 insertions, 0 deletions