summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Smith <chad.smith@canonical.com>2019-09-18 10:31:35 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2019-09-18 10:31:35 +0000
commitac8ef3eed1ca78d779b9fc414439e5dc4153735c (patch)
treeabfe8748bbbe59374e9c0c0180170cf32b3b21f9
parent604463e4e16ee281acc20de010623ae1c0711b92 (diff)
downloadvyos-cloud-init-ac8ef3eed1ca78d779b9fc414439e5dc4153735c.tar.gz
vyos-cloud-init-ac8ef3eed1ca78d779b9fc414439e5dc4153735c.zip
tools: make clean now cleans the dev directory, not the system
Remove pyc files, .tox directories and docs during make clean.
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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)