certs/Makefile: Add .PRECIOUS to stop make deleting the key as an intermediate file (thanks deryni/Zash)

Mon, 06 Dec 2010 18:48:23 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 06 Dec 2010 18:48:23 +0000
changeset 3703
5bca5f90286f
parent 3702
23c6ce0e3f20
child 3704
320738c67100

certs/Makefile: Add .PRECIOUS to stop make deleting the key as an intermediate file (thanks deryni/Zash)

certs/Makefile file | annotate | diff | comparison | revisions
--- a/certs/Makefile	Mon Dec 06 17:32:35 2010 +0000
+++ b/certs/Makefile	Mon Dec 06 18:48:23 2010 +0000
@@ -11,6 +11,8 @@
 # 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 $^)

mercurial