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:
committed by
Vincenzo Palazzo
parent
305579305d
commit
91cb4835d3
2
Makefile
2
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:
|
||||
|
||||
Reference in New Issue
Block a user