-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
55 lines (46 loc) · 1.17 KB
/
Makefile
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
.PHONY: test readme docs clean infup publish dist
test:
tox
sphinxbox/expak.py:
-mkdir sphinxbox
cd sphinxbox; ln -s ../expak.py .
readme:
python make_readme.py
docs: sphinxbox/expak.py readme
sphinx-apidoc -o docs sphinxbox
cd docs; make html
infup: readme
python setup.py register
publish: infup
python setup.py sdist --formats=gztar,zip upload
python2.6 setup.py bdist_egg upload
python2.7 setup.py bdist_egg upload
python3.2 setup.py bdist_egg upload
python3.3 setup.py bdist_egg upload
python3.4 setup.py bdist_egg upload
python setup.py bdist_wininst -p win32 upload
python setup.py bdist_wininst -p win-amd64 upload
dist: readme
python setup.py sdist --formats=gztar,zip
python2.6 setup.py bdist_egg
python2.7 setup.py bdist_egg
python3.2 setup.py bdist_egg
python3.3 setup.py bdist_egg
python3.4 setup.py bdist_egg
python setup.py bdist_wininst -p win32
python setup.py bdist_wininst -p win-amd64
clean:
python setup.py clean
-rm -rf build
-rm -rf dist
-rm -rf htmlcov
-rm -rf expak.egg-info
-rm *.pyc
-rm test/*.pyc
-rm -rf test/__pycache__
-rm -rf __pycache__
cd docs; make clean
superclean: clean
-rm -rf *.egg
-rm -rf sphinxbox
-rm -rf .tox