← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~chad.smith/cloud-init:cleanup/make-clean-cleans-docs into cloud-init:master

 

Chad Smith has proposed merging ~chad.smith/cloud-init:cleanup/make-clean-cleans-docs into cloud-init:master.

Commit message:
tools: make clean now cleans the dev directory, not the system

Remove pyc files, .tox directories and docs during make clean.

Requested reviews:
  cloud-init Commiters (cloud-init-dev)

For more details, see:
https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/372932
-- 
Your team cloud-init Commiters is requested to review the proposed merge of ~chad.smith/cloud-init:cleanup/make-clean-cleans-docs into cloud-init:master.
diff --git a/Makefile b/Makefile
index 2c6d0c8..315e6b4 100644
--- a/Makefile
+++ b/Makefile
@@ -80,9 +80,10 @@ config/cloud.cfg:
 
 clean_pyc:
 	@find . -type f -name "*.pyc" -delete
+	@find . -type d -name __pycache__ -delete
 
 clean: clean_pyc
-	rm -rf /var/log/cloud-init.log /var/lib/cloud/
+	rm -rf doc/rtd_html .tox .coverage
 
 yaml:
 	@$(PYVER) $(CWD)/tools/validate-yaml.py $(YAML_FILES)