From c1ead419110b5e50bda69061ca2b8635eae085eb Mon Sep 17 00:00:00 2001 From: Martin Levy Date: Mon, 17 Oct 2016 10:38:39 -0700 Subject: [PATCH] Added more cleanup code and sdist/bdist options - not that bdist is useful --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index c723cb9..35ccc0d 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ PANDOC = pandoc PYLINT = pylint EMAIL = "mahtin@mahtin.com" +NAME = "cloudflare" all: README.rst build @@ -23,6 +24,13 @@ sdist: all make clean make test $(PYTHON) setup.py sdist + rm -rf ${NAME}.egg-info + +bdist: all + make clean + make test + $(PYTHON) setup.py bdist + rm -rf ${NAME}.egg-info upload: clean all $(PYTHON) setup.py sdist upload --sign --identity="$(EMAIL)" @@ -35,4 +43,5 @@ clean: rm -rf dist mkdir build dist $(PYTHON) setup.py clean + rm -rf ${NAME}.egg-info