v3.0
[rarfile.git] / Makefile
blob8bba3cd38aa153e4917dd524df4d713b22a01a17
2 prefix = /usr/local
4 all:
5 pyflakes3 rarfile.py
6 tox
8 install:
9 python setup.py install --prefix=$(prefix)
11 tgz: clean
12 python setup.py sdist
14 clean:
15 rm -rf __pycache__ build dist
16 rm -f *.pyc MANIFEST *.orig *.rej *.html *.class
17 rm -rf doc/_build doc/_static doc/_templates doc/html
18 rm -rf .coverage cover*
19 rm -rf *.egg-info
20 rm -f test/files/*.rar.[pjt]* *.diffs
22 toxclean: clean
23 rm -rf .tox
25 rbuild:
26 curl -X POST https://readthedocs.org/build/6715
28 upload:
29 python setup.py sdist upload
31 ack:
32 for fn in test/files/*.py27; do \
33 cp $$fn `echo $$fn | sed 's/py27/exp/'` || exit 1; \
34 done