diff options
author | Sven Vermeulen <sven.vermeulen@siphos.be> | 2014-02-01 15:22:18 +0100 |
---|---|---|
committer | Sven Vermeulen <sven.vermeulen@siphos.be> | 2014-02-01 15:22:18 +0100 |
commit | c5fc8e7c31f333a8885419a95a9ec76525350b66 (patch) | |
tree | 2a1c7c20a1c6deddd79b576001e8a4008d80cbee | |
parent | Add block for GRUB2 password protection (still TODO) (diff) | |
download | hardened-docs-c5fc8e7c31f333a8885419a95a9ec76525350b66.tar.gz hardened-docs-c5fc8e7c31f333a8885419a95a9ec76525350b66.tar.bz2 hardened-docs-c5fc8e7c31f333a8885419a95a9ec76525350b66.zip |
Add upload to Makefile
-rw-r--r-- | xml/SCAP/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/xml/SCAP/Makefile b/xml/SCAP/Makefile index 3e1b440..f0b8628 100644 --- a/xml/SCAP/Makefile +++ b/xml/SCAP/Makefile @@ -1,3 +1,5 @@ +location = "dev.gentoo.org:public_html/docs/security_benchmarks" + all: report-gentoo-xccdf.html guide-gentoo-xccdf.html remediate-gentoo-xccdf.sh guide-gentoo-xccdf.docbook report-gentoo-oval.xml gentoo-ds.xml report-gentoo-xccdf.html: gentoo-cpe.xml gentoo-xccdf.xml gentoo-oval.xml prep @@ -27,4 +29,7 @@ prep: -cp ~/tmp/gentoo-oval.xml ~/tmp/cpe-oval.xml -sed -i 's|gentoo-oval.xml|cpe-oval.xml|g' ~/tmp/gentoo-cpe.xml -.PHONY: all prep +upload: + -pushd ~/tmp; scp gentoo-cpe.xml gentoo-xccdf.xml gentoo-oval.xml gentoo-ds.xml guide-gentoo-xccdf.html report-gentoo-oval.html report-gentoo-xccdf.html $(location)/; popd; + +.PHONY: all prep upload |