forked from Python-Markdown/markdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
49 lines (41 loc) · 820 Bytes
/
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
# Python-Markdown makefile
.PHONY : install
install:
python setup.py install
.PHONY : deploy
deploy:
python setup.py register
python setup.py sdist --formats zip,gztar upload
.PHONY : build
build:
python setup.py sdist --formats zip,gztar
.PHONY : build-win
build-win:
python setup.py bdist_wininst
.PHONY : docs
docs:
python setup.py build_docs --force
cd build/docs && zip -r ../docs.zip .
.PHONY : test
test:
tox
.PHONY : update-tests
update-tests:
python run-tests.py update
.PHONY : clean
clean:
rm -f MANIFEST
rm -f test-output.html
rm -f *.pyc
rm -f markdown/*.pyc
rm -f markdown/extensions/*.pyc
rm -f *.bak
rm -f markdown/*.bak
rm -f markdown/extensions/*.bak
rm -f *.swp
rm -f markdown/*.swp
rm -f markdown/extensions/*.swp
rm -rf build
rm -rf dist
rm -rf tmp
# git clean -dfx'