Skip to content
Snippets Groups Projects
Commit f9c8ec3a 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 50d03102
No related branches found
No related tags found
No related merge requests found
ifdef SWH_PACKAGE_DOC_TOX_BUILD
include swh-docs/Makefile.sphinx
else
include ../../swh-docs/Makefile.sphinx
endif
-include Makefile.local
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