mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-25 13:10:32 +03:00
Added target to package the docs for PyPI documentation.
This commit is contained in:
parent
9e9933faed
commit
13c2f5a78b
5
Makefile
5
Makefile
|
@ -62,6 +62,9 @@ docs-html: doc/html/genindex.html
|
||||||
|
|
||||||
docs-txt: doc/psycopg2.txt
|
docs-txt: doc/psycopg2.txt
|
||||||
|
|
||||||
|
# for PyPI documentation
|
||||||
|
docs-zip: doc/docs.zip
|
||||||
|
|
||||||
sdist: $(SDIST)
|
sdist: $(SDIST)
|
||||||
|
|
||||||
# The environment is currently required to build the documentation.
|
# The environment is currently required to build the documentation.
|
||||||
|
@ -119,6 +122,8 @@ doc/html/genindex.html: $(PLATLIB) $(PURELIB) $(SOURCE_DOC)
|
||||||
doc/psycopg2.txt: $(PLATLIB) $(PURELIB) $(SOURCE_DOC)
|
doc/psycopg2.txt: $(PLATLIB) $(PURELIB) $(SOURCE_DOC)
|
||||||
PYTHONPATH=$(ENV_LIB):$(BUILD_DIR) $(MAKE) SPHINXBUILD=$(ENV_BIN)/sphinx-build -C doc text
|
PYTHONPATH=$(ENV_LIB):$(BUILD_DIR) $(MAKE) SPHINXBUILD=$(ENV_BIN)/sphinx-build -C doc text
|
||||||
|
|
||||||
|
doc/docs.zip: doc/html/genindex.html
|
||||||
|
(cd doc/html && zip -r ../docs.zip *)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build MANIFEST
|
rm -rf build MANIFEST
|
||||||
|
|
Loading…
Reference in New Issue
Block a user