Fix to make GNU make 4.1 accept the Makefile after cert changes.
This commit is contained in:
parent
3490ffb285
commit
731264776d
3
Makefile
3
Makefile
|
@ -224,11 +224,12 @@ endif
|
||||||
|
|
||||||
.PHONY: pre_build
|
.PHONY: pre_build
|
||||||
|
|
||||||
pre_build:
|
|
||||||
ifneq ($(wildcard $(TOP_DIR)/server-ca.crt),)
|
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
|
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\"
|
DEFINES += -DHAVE_SSL_SERVER_CRT=\"server-ca.crt.h\"
|
||||||
else
|
else
|
||||||
|
pre_build:
|
||||||
@-rm -f $(TOP_DIR)/app/modules/server-ca.crt.h
|
@-rm -f $(TOP_DIR)/app/modules/server-ca.crt.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue