From 2dfc2991e2f8b41b93a60639c2aebb461567866e Mon Sep 17 00:00:00 2001 From: Siddharth Ravikumar Date: Tue, 22 Dec 2015 18:27:14 -0500 Subject: Makefile: added new targets new targets: - clean-dist - clean-pyc --- ChangeLog | 4 ++++ Makefile | 9 +++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 54e19ab..526319e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-12-22 Siddharth Ravikumar + + * Makefile: added new targets `clean-dist` and `clean-pyc`. + 2015-12-22 Siddharth Ravikumar All .py files now have a coding set to utf-8. diff --git a/Makefile b/Makefile index eada614..d0ce0c0 100644 --- a/Makefile +++ b/Makefile @@ -40,9 +40,14 @@ upload-docs: clean-docs: @$(MAKE) -C docs clean +clean-dist: + @rm -rf dist/ + clean-build: @rm -rf build/ - @rm -rf dist/ @rm -rf *.egg-info -.PHONY: dist clean-build upload-pypi upload-docs build-dist docs all +clean-pyc: + @find . -name '*.pyc' -exec rm -f {} + + +.PHONY: dist clean-build clean-dist clean-pyc upload-pypi upload-docs build-dist docs all -- cgit v1.2.3