mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 00:46:33 +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?
|
env?
|
||||||
.idea
|
.idea
|
||||||
.tox
|
.tox
|
||||||
|
.vscode/
|
||||||
/rel
|
/rel
|
||||||
/wheels
|
/wheels
|
||||||
|
|
|
@ -10,7 +10,8 @@ check: doctest
|
||||||
PYTHON := python$(PYTHON_VERSION)
|
PYTHON := python$(PYTHON_VERSION)
|
||||||
PYTHON_VERSION ?= $(shell $(PYTHON) -c 'import sys; print ("%d.%d" % sys.version_info[:2])')
|
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:
|
html:
|
||||||
$(MAKE) PYTHON=$(PYTHON) -C .. package
|
$(MAKE) PYTHON=$(PYTHON) -C .. package
|
||||||
|
|
Loading…
Reference in New Issue
Block a user