summaryrefslogtreecommitdiff
path: root/Makefile
blob: 498d50837e105ed436419b6f818d166ac63ee87a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
help:
	@echo "release - package and upload a release"
	@echo "sdist   - package"
	@echo "docs    - generate HTML documentation"
	@echo "clean   - remove build artifacts"

release: docs
	python setup.py sdist upload

sdist: docs
	python setup.py sdist
	ls -l dist

clean:
	rm -rf dist build *.egg-info
	(cd docs && make clean)

.PHONY: docs
docs:
	(cd docs && make clean html)