Makefile: remove plugins/sql-schema_gen.h and plugins on make clean

Reported-by: @chrisguida
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2023-04-12 11:34:57 +09:30
committed by ShahanaFarooqui
parent 2de5b84370
commit 2c9b043be9

View File

@@ -243,4 +243,9 @@ ifneq ($(RUST),0)
DEFAULT_TARGETS += $(CLN_PLUGIN_EXAMPLES) plugins/cln-grpc
endif
clean: plugins-clean
plugins-clean:
$(RM) $(PLUGINS) $(CLN_PLUGIN_EXAMPLES)
$(RM) plugins/sql-schema_gen.h
include plugins/test/Makefile