summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiddharth Ravikumar <sravik@bgsu.edu>2015-12-22 18:27:14 -0500
committerSiddharth Ravikumar <sravik@bgsu.edu>2015-12-22 18:27:14 -0500
commit2dfc2991e2f8b41b93a60639c2aebb461567866e (patch)
tree7812523c77fb955125cdb1b750798f458d454861
parentb3d728192f4e36b5893dcb089893325ea4cd764b (diff)
Makefile: added new targets
new targets: - clean-dist - clean-pyc
-rw-r--r--ChangeLog4
-rw-r--r--Makefile9
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 54e19ab..526319e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2015-12-22 Siddharth Ravikumar <sravik@bgsu.edu>
+ * Makefile: added new targets `clean-dist` and `clean-pyc`.
+
+2015-12-22 Siddharth Ravikumar <sravik@bgsu.edu>
+
All .py files now have a coding set to utf-8.
2015-12-22 Siddharth Ravikumar <sravik@bgsu.edu>
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