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 3825
8cc803294fc4
parent 3824
d02bb4839ac4
child 3826
be89be2cab26

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	Fri Dec 03 16:40:42 2010 +0100
+++ 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