From 731264776de9e042ee221686f61733b562d97f9f Mon Sep 17 00:00:00 2001 From: Johny Mattsson Date: Thu, 10 Mar 2016 14:33:19 +1100 Subject: [PATCH] Fix to make GNU make 4.1 accept the Makefile after cert changes. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 05b0d11b..b3ad8e9b 100644 --- a/Makefile +++ b/Makefile @@ -224,11 +224,12 @@ endif .PHONY: pre_build -pre_build: ifneq ($(wildcard $(TOP_DIR)/server-ca.crt),) +pre_build: python $(TOP_DIR)/tools/make_server_cert.py $(TOP_DIR)/server-ca.crt > $(TOP_DIR)/app/modules/server-ca.crt.h DEFINES += -DHAVE_SSL_SERVER_CRT=\"server-ca.crt.h\" else +pre_build: @-rm -f $(TOP_DIR)/app/modules/server-ca.crt.h endif