projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mod_motd: Don't trigger on directed presence or stanzas from s2s.
[prosody.git]
/
certs
/
Makefile
diff --git
a/certs/Makefile
b/certs/Makefile
index 17b9dfa9c16d805296cebe171da9644228653bbd..c5e4294c7d7130e22e7f485a87944c3a5331c129 100644
(file)
--- 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.
# 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 $^)
# To request a cert
%.csr: %.cnf %.key
openssl req -new -key $(lastword $^) -out $@ -utf8 -config $(firstword $^)
@@
-25,4
+27,4
@@
keysize=2048
%.key:
openssl genrsa $(keysize) > $@
%.key:
openssl genrsa $(keysize) > $@
- @chmod 400
-c
$@
+ @chmod 400 $@