diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 27 |
1 files changed, 24 insertions, 3 deletions
@@ -55,8 +55,28 @@ clean_pyc: @find . -type f -name "*.pyc" -delete @find . -type d -name __pycache__ -delete -clean: clean_pyc - rm -rf doc/rtd_html .tox .coverage +clean_pytest: + rm -rf .cache htmlcov + +clean_packaging: + rm -rf srpm cloud_init.egg-info/ \ + cloud-init-*.tar.gz \ + cloud-init-*.tar.gz.asc \ + cloud-init.dsc \ + cloud-init_*.build \ + cloud-init_*.buildinfo \ + cloud-init_*.changes \ + cloud-init_*.deb \ + cloud-init_*.dsc \ + cloud-init_*.orig.tar.gz \ + cloud-init_*.tar.xz \ + cloud-init_*.upload + +clean_release: + rm -rf new-upstream-changes.txt commit.msg + +clean: clean_pyc clean_pytest clean_packaging clean_release + rm -rf doc/rtd_html .tox .coverage tags yaml: @$(PYTHON) $(CWD)/tools/validate-yaml.py $(YAML_FILES) @@ -122,4 +142,5 @@ fix_spelling: .PHONY: test flake8 clean rpm srpm deb deb-src yaml .PHONY: check_version pip-test-requirements pip-requirements clean_pyc -.PHONY: unittest style-check doc fix_spelling check_spelling +.PHONY: unittest style-check doc fix_spelling +.PHONY: clean_pytest clean_packaging check_spelling clean_release |