Skip to content
Snippets Groups Projects
Commit 00140fa4 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

docs/Makefile: Fix doc build outside tox when using make command

When building package documentation outside tox by calling make in the
docs directory, the include of Makefile.sphinx inside the docs Makefile
was failing as its relative path was invalid.

So adapt this relative path according if the SWH_PACKAGE_DOC_TOX_BUILD
environment variable is set or not.
parent 3b1a41e4
No related branches found
No related tags found
No related merge requests found
Pipeline #5728 passed
ifdef SWH_PACKAGE_DOC_TOX_BUILD
include swh-docs/Makefile.sphinx
else
include ../../swh-docs/Makefile.sphinx
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment