mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 16:07:30 +03:00 
			
		
		
		
	Doc targets + help for makefile
This commit is contained in:
		
							parent
							
								
									ffa22229bc
								
							
						
					
					
						commit
						529ef12f1f
					
				
							
								
								
									
										21
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								Makefile
									
									
									
									
									
								
							|  | @ -1,4 +1,16 @@ | ||||||
|  | .PHONY: pre clean install test inplace coverage test-dep help docs livedocs | ||||||
| 
 | 
 | ||||||
|  | help: | ||||||
|  | 	@echo "Please use \`make <target>' where <target> is one of" | ||||||
|  | 	@echo "  html       to make standalone HTML files" | ||||||
|  | 	@echo "  clean		remove build products" | ||||||
|  | 	@echo "  install	make and install" | ||||||
|  | 	@echo "  test		run tests on installed pillow" | ||||||
|  | 	@echo "  inplace	make inplace extension"  | ||||||
|  | 	@echo "  coverage	run coverage test (in progress)" | ||||||
|  | 	@echo "  docs		make html docs" | ||||||
|  | 	@echo "  docserver	run an http server on the docs directory" | ||||||
|  | 	@echo "  test-dep	install coveraget and test dependencies" | ||||||
| 
 | 
 | ||||||
| pre: | pre: | ||||||
| 	virtualenv . | 	virtualenv . | ||||||
|  | @ -18,12 +30,11 @@ clean: | ||||||
| 	rm -r build || true | 	rm -r build || true | ||||||
| 	find . -name __pycache__ | xargs rm -r || true | 	find . -name __pycache__ | xargs rm -r || true | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| install: | install: | ||||||
| 	python setup.py install | 	python setup.py install | ||||||
| 	python selftest.py --installed | 	python selftest.py --installed | ||||||
| 
 | 
 | ||||||
| test: install | test: | ||||||
| 	python test-installed.py | 	python test-installed.py | ||||||
| 
 | 
 | ||||||
| inplace: clean | inplace: clean | ||||||
|  | @ -42,3 +53,9 @@ coverage: | ||||||
| 
 | 
 | ||||||
| test-dep: | test-dep: | ||||||
| 	pip install coveralls nose nose-cov pep8 pyflakes | 	pip install coveralls nose nose-cov pep8 pyflakes | ||||||
|  | 
 | ||||||
|  | docs: | ||||||
|  | 	$(MAKE) -C docs html | ||||||
|  | 
 | ||||||
|  | docserver: | ||||||
|  | 	cd docs/_build/html && python -mSimpleHTTPServer 2> /dev/null& | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user