Moving EXTRA_DIST into a conditional means that if the dist isn't made with the deprecated tools enabled, then files will be missing from the distribution. Fixes: 1f6553edd8a5 ("build: Deprecate meshctl tool") --- Changes in v2: - Fix SHA to have 12 characters, not 13 Makefile.tools | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.tools b/Makefile.tools index 044342e29bc6..4178940bf066 100644 --- a/Makefile.tools +++ b/Makefile.tools @@ -378,9 +378,8 @@ tools_meshctl_SOURCES = tools/meshctl.c \ tools_meshctl_LDADD = gdbus/libgdbus-internal.la src/libshared-glib.la \ lib/libbluetooth-internal.la \ $(GLIB_LIBS) $(DBUS_LIBS) -ljson-c -lreadline - -EXTRA_DIST += tools/mesh-gatt/local_node.json tools/mesh-gatt/prov_db.json endif +EXTRA_DIST += tools/mesh-gatt/local_node.json tools/mesh-gatt/prov_db.json bin_PROGRAMS += tools/mesh-cfgclient -- 2.43.0