Commit c20a234bda853d2d7b61e5639f1ef30548878db7

Thomas de Grivel 2024-08-13T17:07:03

ignore make errors for json

diff --git a/Makefile b/Makefile
index 49329ad..19d773b 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ all:
 	${MAKE} -C ikc3 all
 	${MAKE} -C kc3s all
 	${MAKE} -C ekc3 all
-	${MAKE} -C json all
+	-${MAKE} -C json all
 	${MAKE} -C http all
 	${MAKE} -C httpd all
 	${MAKE} -C test all
@@ -31,7 +31,7 @@ asan:
 	${MAKE} -C ikc3 asan
 	${MAKE} -C kc3s asan
 	${MAKE} -C ekc3 asan
-	${MAKE} -C json asan
+	-${MAKE} -C json asan
 	${MAKE} -C http asan
 	${MAKE} -C httpd asan
 	${MAKE} -C test asan
@@ -45,7 +45,7 @@ build:
 	${MAKE} -C ikc3 build
 	${MAKE} -C kc3s build
 	${MAKE} -C ekc3 build
-	${MAKE} -C json build
+	-${MAKE} -C json build
 	${MAKE} -C http build
 	${MAKE} -C httpd build
 	${MAKE} -C test build
@@ -58,7 +58,7 @@ clean:
 	${MAKE} -C ikc3 clean
 	${MAKE} -C kc3s clean
 	${MAKE} -C ekc3 clean
-	${MAKE} -C json clean
+	-${MAKE} -C json clean
 	${MAKE} -C http clean
 	${MAKE} -C httpd clean
 	${MAKE} -C test clean
@@ -70,7 +70,7 @@ clean_cov:
 	${MAKE} -C ikc3 clean_cov
 	${MAKE} -C kc3s clean_cov
 	${MAKE} -C ekc3 clean_cov
-	${MAKE} -C json clean_cov
+	-${MAKE} -C json clean_cov
 	${MAKE} -C http clean_cov
 	${MAKE} -C httpd clean_cov
 	${MAKE} -C test clean_cov
@@ -83,7 +83,7 @@ cov:
 	${MAKE} -C ikc3 cov
 	${MAKE} -C kc3s cov
 	${MAKE} -C ekc3 cov
-	${MAKE} -C json cov
+	-${MAKE} -C json cov
 	${MAKE} -C http cov
 	${MAKE} -C httpd cov
 	${MAKE} -C test cov
@@ -96,7 +96,7 @@ debug:
 	${MAKE} -C ikc3 debug
 	${MAKE} -C kc3s debug
 	${MAKE} -C ekc3 debug
-	${MAKE} -C json debug
+	-${MAKE} -C json debug
 	${MAKE} -C http debug
 	${MAKE} -C httpd debug
 	${MAKE} -C test debug
@@ -135,7 +135,7 @@ distclean:
 	${MAKE} -C ikc3 distclean
 	${MAKE} -C kc3s distclean
 	${MAKE} -C ekc3 distclean
-	${MAKE} -C json distclean
+	-${MAKE} -C json distclean
 	${MAKE} -C http distclean
 	${MAKE} -C httpd distclean
 	${MAKE} -C test distclean
@@ -146,7 +146,7 @@ gcovr:
 	${MAKE} -C ikc3 gcovr
 	${MAKE} -C kc3s gcovr
 	${MAKE} -C ekc3 gcovr
-	${MAKE} -C json gcovr
+	-${MAKE} -C json gcovr
 	${MAKE} -C http gcovr
 	${MAKE} -C httpd gcovr
 	${MAKE} -C test gcovr
@@ -187,7 +187,7 @@ gdb_test_http:
 	${MAKE} -C libkc3 debug
 	${MAKE} -C ikc3 debug
 	${MAKE} -C kc3s debug
-	${MAKE} -C json debug
+	-${MAKE} -C json debug
 	${MAKE} -C http debug
 	${MAKE} -C test gdb_test_http
 
@@ -197,7 +197,7 @@ gdb_test_http_asan:
 	${MAKE} -C libkc3 asan
 	${MAKE} -C ikc3 asan
 	${MAKE} -C kc3s asan
-	${MAKE} -C json asan
+	-${MAKE} -C json asan
 	${MAKE} -C http asan
 	${MAKE} -C test gdb_test_http_asan
 
@@ -207,7 +207,7 @@ gdb_test_httpd:
 	${MAKE} -C libkc3 debug
 	${MAKE} -C ikc3 debug
 	${MAKE} -C kc3s debug
-	${MAKE} -C json debug
+	-${MAKE} -C json debug
 	${MAKE} -C http debug
 	${MAKE} -C httpd debug
 	${MAKE} -C test gdb_test_httpd
@@ -218,7 +218,7 @@ gdb_test_httpd_asan:
 	${MAKE} -C libkc3 asan
 	${MAKE} -C ikc3 asan
 	${MAKE} -C kc3s asan
-	${MAKE} -C json asan
+	-${MAKE} -C json asan
 	${MAKE} -C http asan
 	${MAKE} -C httpd asan
 	${MAKE} -C test gdb_test_httpd_asan
@@ -247,7 +247,7 @@ http:
 	${MAKE} -C ikc3 build
 	${MAKE} -C kc3s build
 	${MAKE} -C ekc3 build
-	${MAKE} -C json build
+	-${MAKE} -C json build
 	${MAKE} -C http build
 
 httpd:
@@ -257,7 +257,7 @@ httpd:
 	${MAKE} -C ikc3 build
 	${MAKE} -C kc3s build
 	${MAKE} -C ekc3 build
-	${MAKE} -C json build
+	-${MAKE} -C json build
 	${MAKE} -C http build
 	${MAKE} -C httpd build
 
@@ -299,38 +299,38 @@ json:
 	${MAKE} -C ucd2c
 	${MAKE} -C libkc3 build
 	${MAKE} -C ikc3 build
-	${MAKE} -C json build
+	-${MAKE} -C json build
 
 json_asan:
 	${MAKE} -C libtommath asan
 	${MAKE} -C ucd2c
 	${MAKE} -C libkc3 asan
 	${MAKE} -C ikc3 asan
-	${MAKE} -C json asan
+	-${MAKE} -C json asan
 
 json_cov:
 	${MAKE} -C libtommath cov
 	${MAKE} -C ucd2c
 	${MAKE} -C libkc3 cov
 	${MAKE} -C ikc3 cov
-	${MAKE} -C json cov
+	-${MAKE} -C json cov
 
 json_debug:
 	${MAKE} -C libtommath debug
 	${MAKE} -C ucd2c
 	${MAKE} -C libkc3 debug
 	${MAKE} -C ikc3 debug
-	${MAKE} -C json debug
+	-${MAKE} -C json debug
 
 install:
 	${MAKE} -C libkc3 install
 	${MAKE} -C ikc3 install
 	${MAKE} -C kc3s install
 	${MAKE} -C ekc3 install
-	${MAKE} -C json install
+	-${MAKE} -C json install
 	${MAKE} -C http install
 	${MAKE} -C httpd install
-	${MAKE} -C json install
+	-${MAKE} -C json install
 	${MAKE} -C window install
 
 kc3-${KC3_VERSION}.tar.gz: kc3.index
@@ -426,7 +426,7 @@ test:
 	${MAKE} -C ikc3 build
 	${MAKE} -C kc3s build
 	${MAKE} -C ekc3 build
-	${MAKE} -C json build
+	-${MAKE} -C json build
 	${MAKE} -C http build
 	${MAKE} -C httpd build
 	${MAKE} -C test test
@@ -439,7 +439,7 @@ test_asan:
 	${MAKE} -C ikc3 asan
 	${MAKE} -C kc3s asan
 	${MAKE} -C ekc3 asan
-	${MAKE} -C json asan
+	-${MAKE} -C json asan
 	${MAKE} -C http asan
 	${MAKE} -C httpd asan
 	${MAKE} -C test test_asan
@@ -451,7 +451,7 @@ test_cov:
 	${MAKE} -C ikc3 cov clean_cov
 	${MAKE} -C kc3s cov clean_cov
 	${MAKE} -C ekc3 cov clean_cov
-	${MAKE} -C json cov clean_cov
+	-${MAKE} -C json cov clean_cov
 	${MAKE} -C http cov clean_cov
 	${MAKE} -C httpd cov clean_cov
 	${MAKE} -C test test_cov
@@ -463,7 +463,7 @@ test_debug:
 	${MAKE} -C ikc3 debug
 	${MAKE} -C kc3s debug
 	${MAKE} -C ekc3 debug
-	${MAKE} -C json debug
+	-${MAKE} -C json debug
 	${MAKE} -C http debug
 	${MAKE} -C httpd debug
 	${MAKE} -C test test_debug
@@ -517,7 +517,7 @@ test_http:
 	${MAKE} -C libkc3 build
 	${MAKE} -C ikc3 build
 	${MAKE} -C kc3s build
-	${MAKE} -C json build
+	-${MAKE} -C json build
 	${MAKE} -C http build
 	${MAKE} -C test test_http
 
@@ -527,7 +527,7 @@ test_http_asan:
 	${MAKE} -C libkc3 asan
 	${MAKE} -C ikc3 asan
 	${MAKE} -C kc3s asan
-	${MAKE} -C json asan
+	-${MAKE} -C json asan
 	${MAKE} -C http asan
 	${MAKE} -C test test_http_asan
 
@@ -537,7 +537,7 @@ test_http_cov:
 	${MAKE} -C libkc3 cov
 	${MAKE} -C ikc3 cov
 	${MAKE} -C kc3s cov
-	${MAKE} -C json cov
+	-${MAKE} -C json cov
 	${MAKE} -C http cov
 	${MAKE} -C test test_http_cov
 
@@ -547,7 +547,7 @@ test_http_debug:
 	${MAKE} -C libkc3 debug
 	${MAKE} -C ikc3 debug
 	${MAKE} -C kc3s debug
-	${MAKE} -C json debug
+	-${MAKE} -C json debug
 	${MAKE} -C http debug
 	${MAKE} -C test test_http_debug
 
@@ -557,7 +557,7 @@ test_httpd:
 	${MAKE} -C libkc3 build
 	${MAKE} -C ikc3 build
 	${MAKE} -C kc3s build
-	${MAKE} -C json build
+	-${MAKE} -C json build
 	${MAKE} -C http build
 	${MAKE} -C httpd build
 	${MAKE} -C test test_httpd
@@ -568,7 +568,7 @@ test_httpd_asan:
 	${MAKE} -C libkc3 asan
 	${MAKE} -C ikc3 asan
 	${MAKE} -C kc3s asan
-	${MAKE} -C json asan
+	-${MAKE} -C json asan
 	${MAKE} -C http asan
 	${MAKE} -C httpd asan
 	${MAKE} -C test test_httpd_asan
@@ -579,7 +579,7 @@ test_httpd_cov:
 	${MAKE} -C libkc3 cov
 	${MAKE} -C ikc3 cov
 	${MAKE} -C kc3s cov
-	${MAKE} -C json cov
+	-${MAKE} -C json cov
 	${MAKE} -C http cov
 	${MAKE} -C httpd cov
 	${MAKE} -C test test_httpd_cov
@@ -590,7 +590,7 @@ test_httpd_debug:
 	${MAKE} -C libkc3 debug
 	${MAKE} -C ikc3 debug
 	${MAKE} -C kc3s debug
-	${MAKE} -C json debug
+	-${MAKE} -C json debug
 	${MAKE} -C http debug
 	${MAKE} -C httpd debug
 	${MAKE} -C test test_httpd_debug
@@ -628,7 +628,7 @@ test_json:
 	${MAKE} -C ucd2c
 	${MAKE} -C libkc3 build
 	${MAKE} -C ikc3 build
-	${MAKE} -C json build
+	-${MAKE} -C json build
 	${MAKE} -C test test_json
 
 test_json_asan:
@@ -636,7 +636,7 @@ test_json_asan:
 	${MAKE} -C ucd2c
 	${MAKE} -C libkc3 asan
 	${MAKE} -C ikc3 asan
-	${MAKE} -C json asan
+	-${MAKE} -C json asan
 	${MAKE} -C test test_json_asan
 
 test_json_cov:
@@ -644,7 +644,7 @@ test_json_cov:
 	${MAKE} -C ucd2c
 	${MAKE} -C libkc3 cov
 	${MAKE} -C ikc3 cov
-	${MAKE} -C json cov
+	-${MAKE} -C json cov
 	${MAKE} -C test test_json_cov
 
 test_json_debug:
@@ -652,7 +652,7 @@ test_json_debug:
 	${MAKE} -C ucd2c
 	${MAKE} -C libkc3 debug
 	${MAKE} -C ikc3 debug
-	${MAKE} -C json debug
+	-${MAKE} -C json debug
 	${MAKE} -C test test_json_debug
 
 test_libkc3: