From 91cb4835d30861d4db5c1fe0d6b587996e8d64ac Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 14 Sep 2023 12:29:16 +0930 Subject: [PATCH] Makefile: don't delete python-generated files in distclean. We do not, in fact, require Python to build, so we should still work after `make distclean`. Fixes: #6536 Signed-off-by: Rusty Russell --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3b5710efe..2548672a4 100644 --- a/Makefile +++ b/Makefile @@ -697,11 +697,11 @@ default-targets: $(DEFAULT_TARGETS) distclean: clean $(RM) ccan/config.h config.vars - $(RM) $(PYTHON_GENERATED) maintainer-clean: distclean @echo 'This command is intended for maintainers to use; it' @echo 'deletes files that may need special tools to rebuild.' + $(RM) $(PYTHON_GENERATED) # We used to have gen_ files, now we have _gen files. obsclean: