mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-11 00:32:27 +03:00
Clean up Makefile [ci skip]
- Rename targets docs, docserver -> doc, docserve; shorten - Rename help and phony targets
This commit is contained in:
parent
7dafa9a97e
commit
5f4e407927
10
Makefile
10
Makefile
|
@ -1,6 +1,6 @@
|
||||||
# https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
|
# https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
|
||||||
# XXX Do we need all these phony targets?
|
# XXX Do we need all these phony targets?
|
||||||
.PHONY: clean coverage docs docserver help inplace install install-req release-test sdist test upload upload-test
|
.PHONY: clean coverage doc docserve help inplace install install-req release-test sdist test upload upload-test
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
python setup.py clean
|
python setup.py clean
|
||||||
|
@ -19,18 +19,18 @@ coverage:
|
||||||
coverage combine
|
coverage combine
|
||||||
coverage report
|
coverage report
|
||||||
|
|
||||||
docs:
|
doc:
|
||||||
$(MAKE) -C docs html
|
$(MAKE) -C docs html
|
||||||
|
|
||||||
docserver:
|
docserve:
|
||||||
cd docs/_build/html && python -mSimpleHTTPServer 2> /dev/null&
|
cd docs/_build/html && python -mSimpleHTTPServer 2> /dev/null&
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "Welcome to Pillow development. Please use \`make <target>' where <target> is one of"
|
@echo "Welcome to Pillow development. Please use \`make <target>' where <target> is one of"
|
||||||
@echo " clean remove build products"
|
@echo " clean remove build products"
|
||||||
@echo " coverage run coverage test (in progress)"
|
@echo " coverage run coverage test (in progress)"
|
||||||
@echo " docs make html docs"
|
@echo " doc make html docs"
|
||||||
@echo " docserver run an http server on the docs directory"
|
@echo " docserve run an http server on the docs directory"
|
||||||
@echo " html to make standalone HTML files"
|
@echo " html to make standalone HTML files"
|
||||||
@echo " inplace make inplace extension"
|
@echo " inplace make inplace extension"
|
||||||
@echo " install make and install"
|
@echo " install make and install"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user