Diff

Makefile @ 5933:56b1f151f4a3 0.9.2

Makefile, configure: Add option for disabling generation of example certificates
author Kim Alvefur <zash@zash.se>
date Sat, 30 Nov 2013 22:26:20 +0100
parent 5924:f44c1dabd4e9
child 6044:1ce05d38d1bb
line wrap: on
line diff
--- a/Makefile	Fri Nov 29 20:10:13 2013 +0000
+++ b/Makefile	Sat Nov 30 22:26:20 2013 +0100
@@ -17,7 +17,9 @@
 
 all: prosody.install prosodyctl.install prosody.cfg.lua.install prosody.version
 	$(MAKE) -C util-src install
-	$(MAKE) -C certs localhost.crt example.com.crt
+ifeq ($(EXCERTS),yes)
+	$(MAKE) -C certs localhost.crt example.com.crt || true
+endif
 
 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)