From d213a496a30d35e84c82334240c9ac45d03cacbb Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Fri, 18 Dec 2015 11:35:18 +0100 Subject: [PATCH] Modular clean targets --- Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 32b2ca2..ff93bbf 100644 --- a/Makefile +++ b/Makefile @@ -7,13 +7,17 @@ build: install: python setup.py install -clean: +clean_pyc: find ./ -name '*.pyc' -delete find ./ -name __pycache__ -delete +clean_build: rm -rf build django_cas_server.egg-info dist - -clean_all: clean - rm -rf test_venv .tox +clean_tox: + rm -rf .tox +clean_test_venv: + rm -rf test_venv +clean: clean_pyc clean_build +clean_all: clean_pyc clean_build clean_tox clean_test_venv dist: python setup.py sdist