diff options
author | Sven Vermeulen <sven.vermeulen@siphos.be> | 2013-12-20 14:38:35 +0100 |
---|---|---|
committer | Sven Vermeulen <sven.vermeulen@siphos.be> | 2013-12-20 14:38:35 +0100 |
commit | ba0efd919ff2b536cba4588eed154c01482bf200 (patch) | |
tree | e10b7596143daca03571174e8d31aa43c4bc870e | |
parent | Add test for global USE flag declarations (ssl, tcpd, pam) (diff) | |
download | hardened-docs-ba0efd919ff2b536cba4588eed154c01482bf200.tar.gz hardened-docs-ba0efd919ff2b536cba4588eed154c01482bf200.tar.bz2 hardened-docs-ba0efd919ff2b536cba4588eed154c01482bf200.zip |
Move generated docs to tmp location
-rw-r--r-- | xml/SCAP/Makefile | 40 |
1 files changed, 14 insertions, 26 deletions
diff --git a/xml/SCAP/Makefile b/xml/SCAP/Makefile index 387ae3e..42028e0 100644 --- a/xml/SCAP/Makefile +++ b/xml/SCAP/Makefile @@ -1,32 +1,20 @@ -all: report.html guide.html remediate.sh #guide.pdf +all: report-gentoo-xccdf.html guide-gentoo-xccdf.html remediate-gentoo-xccdf.sh guide-gentoo-xccdf.docbook -report.html: gentoo-cpe.xml gentoo-xccdf.xml gentoo-oval.xml - -oscap xccdf eval --cpe gentoo-cpe.xml --profile xccdf_org.gentoo.dev.swift_profile_default --results results-xccdf.xml --oval-results --report report.html gentoo-xccdf.xml +report-gentoo-xccdf.html: gentoo-cpe.xml gentoo-xccdf.xml gentoo-oval.xml + -oscap xccdf eval --cpe gentoo-cpe.xml --profile xccdf_org.gentoo.dev.swift_profile_default-oval --results ~/tmp/results-gentoo-xccdf.xml --oval-results --report ~/tmp/report-gentoo-xccdf.html gentoo-xccdf.xml -guide.html: gentoo-cpe.xml gentoo-xccdf.xml gentoo-oval.xml - oscap xccdf generate guide --profile xccdf_org.gentoo.dev.swift_profile_default --output guide.html gentoo-xccdf.xml +guide-gentoo-xccdf.html: gentoo-cpe.xml gentoo-xccdf.xml gentoo-oval.xml + oscap xccdf generate guide --profile xccdf_org.gentoo.dev.swift_profile_default-oval --output ~/tmp/guide-gentoo-xccdf.html gentoo-xccdf.xml -guide.docbook: gentoo-cpe.xml gentoo-xccdf.xml gentoo-oval.xml - oscap xccdf generate guide --profile xccdf_org.gentoo.dev.swift_profile_default --format docbook --output guide.docbook gentoo-xccdf.xml +guide-gentoo-xccdf.docbook: gentoo-cpe.xml gentoo-xccdf.xml gentoo-oval.xml + oscap xccdf generate guide --profile xccdf_org.gentoo.dev.swift_profile_default-oval --format docbook --output ~/tmp/guide-gentoo-xccdf.docbook gentoo-xccdf.xml -guide.fo: guide.docbook - xsltproc --output guide.fo --stringparam paper.type A4 /usr/share/sgml/docbook/xsl-stylesheets/fo/docbook.xsl guide.docbook +remediate-gentoo-xccdf.sh: + oscap xccdf generate fix --output ~/tmp/remediate-gentoo-xccdf.sh ~/tmp/results-gentoo-xccdf.xml + chmod 0644 ~/tmp/remediate-gentoo-xccdf.sh -guide.pdf: guide.fo - fop guide.fo guide.pdf +gentoo-ds.xml: + oscap ds sds-compose gentoo-xccdf.xml ~/tmp/gentoo-ds.xml + oscap ds sds-add gentoo-cpe.xml ~/tmp/gentoo-ds.xml -remediate.sh: results-xccdf.xml - oscap xccdf generate fix --output remediate.sh results-xccdf.xml - chmod 0644 remediate.sh - -ds: - oscap ds sds-compose gentoo-xccdf.xml ds.xml - oscap ds sds-add gentoo-cpe.xml ds.xml - -eval: - oscap xccdf eval --cpe gentoo-cpe.xml --profile xccdf_org.gentoo.dev.swift_profile_default gentoo-xccdf.xml - -clean: - -rm results-xccdf.xml report.html guide.html gentoo-oval.xml.results.xml remediate.sh guide.docbook guide.pdf guide.fo - -.PHONY: all eval clean +.PHONY: all |