summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-06-18 17:21:15 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-06-18 17:21:15 -0700
commitd42536f0c8a0e7eb84248c7f4f3264c317a9a04d (patch)
treecd80f618ac883fd5105d73b7831d87545e8c27b0
parentb6f158b8a55f37d9d2854ff0e566298b85cc0c89 (diff)
downloadvyos-cloud-init-d42536f0c8a0e7eb84248c7f4f3264c317a9a04d.tar.gz
vyos-cloud-init-d42536f0c8a0e7eb84248c7f4f3264c317a9a04d.zip
1. Add in a clean section that will remove the /var/lib/cloud dir and the cloud.log file (helpful for testing)
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 783ebd76..683475fd 100644
--- a/Makefile
+++ b/Makefile
@@ -15,5 +15,9 @@ test:
2to3:
2to3 $(PY_FILES)
-.PHONY: test pylint pyflakes 2to3
+clean:
+ rm -rf /var/log/cloud-init.log \
+ /var/lib/cloud/
+
+.PHONY: test pylint pyflakes 2to3 clean