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 <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2023-09-14 12:29:16 +09:30
committed by Vincenzo Palazzo
parent 305579305d
commit 91cb4835d3

View File

@@ -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: