Makefile, certs: Generate example certificates on build, remove the old static one
[prosody.git] / Makefile
index b96b6732cda003320a38162cbf164ed5b3f8ee28..f61fda17b5ef2c45354f6092cc365497d83950f8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,7 @@ INSTALLEDDATA = $(DATADIR)
 
 all: prosody.install prosodyctl.install prosody.cfg.lua.install prosody.version
        $(MAKE) -C util-src install
+       $(MAKE) -C certs localhost.crt example.com.crt
 
 install: prosody.install prosodyctl.install prosody.cfg.lua.install util/encodings.so util/encodings.so util/pposix.so util/signal.so
        install -d $(BIN) $(CONFIG) $(MODULES) $(SOURCE)