[PATCH 2/3] Updated 'make clean' to remove content directories

Shawn Wells shawn at redhat.com
Sat Mar 17 19:24:57 UTC 2012


After restructuring the output/ directory the 'make clean' option needed to be updated to delete the content directories, vs the individual .html, .xml, etc files.
---
 rhel6/src/Makefile |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/rhel6/src/Makefile b/rhel6/src/Makefile
index 9cb43a9..792e887 100644
--- a/rhel6/src/Makefile
+++ b/rhel6/src/Makefile
@@ -78,5 +78,4 @@ eval-common:
 	oscap xccdf eval --profile common --results /tmp/results-test.xml ${XCCDF_OUTPUT_DIR}/rhel6-xccdf-scap-security-guide.xml
 
 clean:
-#	rm -f ${OUT}/*.xml ${OUT}/*.html ${OUT}/*.pdf
-	rm -rf ${OUT}/
+	rm -rf ${XCCDF_OUTPUT_DIR}/ ${POLICYMAPPING_OUTPUT_DIR}/ ${HTML_OUTPUT_DIR}/ ${OVAL_OUTPUT_DIR}/
-- 
1.7.1


--sm4nu43k4a2Rpi4c--


More information about the scap-security-guide mailing list