Skip to content

Commit c1ead41

Browse files
committed
Added more cleanup code and sdist/bdist options - not that bdist is useful
1 parent 06e5fcc commit c1ead41

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ PANDOC = pandoc
44
PYLINT = pylint
55

66
EMAIL = "mahtin@mahtin.com"
7+
NAME = "cloudflare"
78

89
all: README.rst build
910

@@ -23,6 +24,13 @@ sdist: all
2324
make clean
2425
make test
2526
$(PYTHON) setup.py sdist
27+
rm -rf ${NAME}.egg-info
28+
29+
bdist: all
30+
make clean
31+
make test
32+
$(PYTHON) setup.py bdist
33+
rm -rf ${NAME}.egg-info
2634

2735
upload: clean all
2836
$(PYTHON) setup.py sdist upload --sign --identity="$(EMAIL)"
@@ -35,4 +43,5 @@ clean:
3543
rm -rf dist
3644
mkdir build dist
3745
$(PYTHON) setup.py clean
46+
rm -rf ${NAME}.egg-info
3847

0 commit comments

Comments
 (0)