Fix building docs for the website

This commit is contained in:
Daniele Varrazzo 2021-06-17 03:53:19 +01:00
parent 62490a6bcc
commit dd9c6659bc

View File

@ -19,7 +19,7 @@ html: package src/sqlstate_errors.rst
cp -r src/_build/html .
src/sqlstate_errors.rst: ../psycopg/sqlstate_errors.h $(BUILD_DIR)
$(PYTHON) src/tools/make_sqlstate_docs.py $< > $@
./env/bin/python src/tools/make_sqlstate_docs.py $< > $@
$(BUILD_DIR):
$(MAKE) PYTHON=$(PYTHON) -C .. package