mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-10 19:16:34 +03:00
Allow SPHINXBUILD on command line
This commit is contained in:
parent
81addddaee
commit
f56392a245
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -15,5 +15,6 @@ env
|
|||
env?
|
||||
.idea
|
||||
.tox
|
||||
.vscode/
|
||||
/rel
|
||||
/wheels
|
||||
|
|
|
@ -10,7 +10,8 @@ check: doctest
|
|||
PYTHON := python$(PYTHON_VERSION)
|
||||
PYTHON_VERSION ?= $(shell $(PYTHON) -c 'import sys; print ("%d.%d" % sys.version_info[:2])')
|
||||
|
||||
SPHOPTS=PYTHONPATH=$$(pwd)/../build/lib.$(PYTHON_VERSION)/ SPHINXBUILD=$$(pwd)/env/bin/sphinx-build
|
||||
SPHINXBUILD ?= $$(pwd)/env/bin/sphinx-build
|
||||
SPHOPTS = PYTHONPATH=$$(pwd)/../build/lib.$(PYTHON_VERSION)/ SPHINXBUILD=$(SPHINXBUILD)
|
||||
|
||||
html:
|
||||
$(MAKE) PYTHON=$(PYTHON) -C .. package
|
||||
|
|
Loading…
Reference in New Issue
Block a user