diff mbox

[2/3] sepolgen: remove additional files when cleaning

Message ID 1462449760-9072-3-git-send-email-nicolas.iooss@m4x.org (mailing list archive)
State Not Applicable
Headers show

Commit Message

Nicolas Iooss May 5, 2016, 12:02 p.m. UTC
Remove the files created by Python 3 and refpolicy building process.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
---
 sepolgen/src/sepolgen/Makefile | 3 +--
 sepolgen/tests/Makefile        | 3 +++
 2 files changed, 4 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/sepolgen/src/sepolgen/Makefile b/sepolgen/src/sepolgen/Makefile
index 9ac765151478..d3aa7715c488 100644
--- a/sepolgen/src/sepolgen/Makefile
+++ b/sepolgen/src/sepolgen/Makefile
@@ -11,5 +11,4 @@  install: all
 clean:
 	rm -f parser.out parsetab.py
 	rm -f *~ *.pyc
-
-
+	rm -rf __pycache__
diff --git a/sepolgen/tests/Makefile b/sepolgen/tests/Makefile
index 924a9bed6bcd..e17eef229ff3 100644
--- a/sepolgen/tests/Makefile
+++ b/sepolgen/tests/Makefile
@@ -4,8 +4,11 @@  clean:
 	rm -f *~ *.pyc
 	rm -f parser.out parsetab.py
 	rm -f out.txt
+	rm -f module_compile_test.fc
+	rm -f module_compile_test.if
 	rm -f module_compile_test.pp
 	rm -f output
+	rm -rf __pycache__ tmp
 
 test:
 	$(PYTHON) run-tests.py