# HG changeset patch # User Mike Becker # Date 1764871074 -3600 # Node ID fd948e5af26eb82763a5ccc9aca1642e8fbc8a44 # Parent f60a73d2ad01a2f4e8ecb7920bd78652b02da45b make clean and distclean are now independent from config.mk fixes #769 diff -r f60a73d2ad01 -r fd948e5af26e Makefile --- a/Makefile Wed Dec 03 00:01:17 2025 +0100 +++ b/Makefile Thu Dec 04 18:57:54 2025 +0100 @@ -29,11 +29,12 @@ dist: config.mk FORCE $(MAKE) -f make/makefile.mk dist -clean: config.mk FORCE - $(MAKE) -f make/makefile.mk clean +clean: FORCE + rm -f -R dist + rm -f -R build -distclean: config.mk FORCE - $(MAKE) -f make/makefile.mk distclean +distclean: clean FORCE + rm -f config.mk compile: config.mk FORCE $(MAKE) -f make/makefile.mk compile diff -r f60a73d2ad01 -r fd948e5af26e make/makefile.mk --- a/make/makefile.mk Wed Dec 03 00:01:17 2025 +0100 +++ b/make/makefile.mk Thu Dec 04 18:57:54 2025 +0100 @@ -30,13 +30,6 @@ @cd $(dist_dir) && tar -czf ucx-$(VERSION).tar.gz -Hustar libucx @echo "[ Dist created: $(dist_dir)/ucx-$(VERSION).tar.gz ]" -clean: FORCE - $(RMDIR) $(dist_dir) - $(RMDIR) $(build_dir) - -distclean: clean FORCE - $(RMFILE) $(root_dir)/config.mk - compile: static shared $(build_dir):