소스 검색

Fix to make GNU make 4.1 accept the Makefile after cert changes.

Johny Mattsson 8 년 전
부모
커밋
731264776d
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      Makefile

+ 2 - 1
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