Commit 0598d9fc authored by nimrod's avatar nimrod
Browse files

- Added a clean Make target.

parent c5d71104
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2,8 +2,8 @@
*~
*.swp
*.swo
certs/*
keys/*
certs/
keys/
openssl.cnf
CA.key
CA.crt
+4 −1
Original line number Diff line number Diff line
.PHONY: install test
.PHONY: install test clean

install:
	cp ssl-ca /usr/local/bin/ssl-ca
@@ -29,3 +29,6 @@ test:
	test "$$(curl --fail --cacert CA.crt --resolve www.ssl-ca:4433:127.0.0.1 --write-out '%{ssl_verify_result}' --silent --output /dev/null https://www.ssl-ca:4433/)" = "0"
	kill "$$(cat .server.pid)"
	rm .server.pid

clean:
	git clean -Xdf