aboutsummaryrefslogtreecommitdiffstats
path: root/certs/Makefile
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-12-06 18:48:23 +0000
committerMatthew Wild <mwild1@gmail.com>2010-12-06 18:48:23 +0000
commit44a7ddd017ab4a25c305f8e9648ea16ecf4cbd46 (patch)
treecead56e5d783c6a127684b22589d66016b30f5bd /certs/Makefile
parenta7033c663994f5fb8a57ce05e5c3df250b5237d9 (diff)
downloadprosody-44a7ddd017ab4a25c305f8e9648ea16ecf4cbd46.tar.gz
prosody-44a7ddd017ab4a25c305f8e9648ea16ecf4cbd46.zip
certs/Makefile: Add .PRECIOUS to stop make deleting the key as an intermediate file (thanks deryni/Zash)
Diffstat (limited to 'certs/Makefile')
-rw-r--r--certs/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/certs/Makefile b/certs/Makefile
index 17b9dfa9..54835883 100644
--- a/certs/Makefile
+++ b/certs/Makefile
@@ -11,6 +11,8 @@ keysize=2048
# signing request that you can submit to a CA, or `make yourhost.cert`
# to generate a self signed certificate.
+.PRECIOUS: %.cnf %.key
+
# To request a cert
%.csr: %.cnf %.key
openssl req -new -key $(lastword $^) -out $@ -utf8 -config $(firstword $^)