From ac8ef3eed1ca78d779b9fc414439e5dc4153735c Mon Sep 17 00:00:00 2001 From: Chad Smith Date: Wed, 18 Sep 2019 10:31:35 +0000 Subject: tools: make clean now cleans the dev directory, not the system Remove pyc files, .tox directories and docs during make clean. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2c6d0c80..315e6b45 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) -- cgit v1.2.3