summaryrefslogtreecommitdiff
path: root/Makefile
blob: 4e53a9eb9f29e887820c75a2410d540cfe31fc85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
REL=$(shell python -c 'import blinker; print blinker.__version__')

.PHONY: clean sdist clean website docs test


release: clean test docs sdist website
	@echo Preparing blinker release $(REL)
	(cd docs/source && make clean)
	(cd docs/source && make doctest)
	(cd docs/source && VERSION=$(REL) make html)
	(cd docs/source && VERSION=$(REL) make text)
	python setup.py sdist --formats=zip

sdist:
	python setup.py sdist

clean:
	(cd docs/source && make clean)

website:
	(cd docs/source && VERSION=$(REL) make website)

docs:
	(cd docs/source && VERSION=$(REL) make html)
	(cd docs/source && VERSION=$(REL) make text)


test:
	(cd docs/source && make doctest)
	tox