aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2019-05-31 10:02:11 -0600
committerJonathan Corbet <corbet@lwn.net>2019-05-31 10:02:11 -0600
commit6c01edd395a7cc7bb82333e953992eb0e76b1c35 (patch)
treec51ec2b74f9ee75413bffe54d17ebf9d5ea53dfe /Documentation/Makefile
parentdocs: requirements.txt: recommend Sphinx 1.7.9 (diff)
downloadwireguard-linux-6c01edd395a7cc7bb82333e953992eb0e76b1c35.tar.xz
wireguard-linux-6c01edd395a7cc7bb82333e953992eb0e76b1c35.zip
docs: look for sphinx-pre-install in the source tree
Recent makefile changes included an invocation of ./scripts/sphinx-pre-install. Unfortunately, that fails when a separate build directory is in use with: /bin/bash: ./scripts/sphinx-pre-install: No such file or directory Use $(srctree) to fully specify the location of this script. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 85d3cfafd77c..2edd03b1dad6 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -23,7 +23,7 @@ ifeq ($(HAVE_SPHINX),0)
.DEFAULT:
$(warning The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed and in PATH, or set the SPHINXBUILD make variable to point to the full path of the '$(SPHINXBUILD)' executable.)
@echo
- @./scripts/sphinx-pre-install
+ @$(srctree)/scripts/sphinx-pre-install
@echo " SKIP Sphinx $@ target."
else # HAVE_SPHINX