@@ -1,6 +1,8 @@ -all: cert-0.crt +all: certs USG-dod-bundle.pem + +certs: cert-0.crt rel3_dodroot_2048.cac: wget -O "$@.new" http://dodpki.c3pki.chamb.disa.mil/rel3_dodroot_2048.cac mv "$@.new" "$@" @@ -16,11 +18,16 @@ if [ "$${line}" == "-----END CERTIFICATE-----" ]; then \ idx=$$[$$idx + 1]; \ fi; \ done +USG-dod-bundle.pem: certs + ../build-tree.sh > "$@" + clean: rm -f cert-*.crt rm -f rel3_dodroot_2048.cac.new distclean: clean rm -f rel3_dodroot_2048.cac + +.PHONY: all certs