replace dist-clean target with a proper distclean target

Sun, 30 Nov 2025 15:05:21 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 30 Nov 2025 15:05:21 +0100
changeset 1530
77cb6540d9d8
parent 1529
a145f47cc0a7
child 1531
3ee5a5c7823a

replace dist-clean target with a proper distclean target

Makefile file | annotate | diff | comparison | revisions
make/makefile.mk file | annotate | diff | comparison | revisions
--- a/Makefile	Sun Nov 30 14:40:39 2025 +0100
+++ b/Makefile	Sun Nov 30 15:05:21 2025 +0100
@@ -32,8 +32,8 @@
 clean: config.mk FORCE
 	$(MAKE) -f make/makefile.mk clean
 
-dist-clean: config.mk FORCE
-	$(MAKE) -f make/makefile.mk dist-clean
+distclean: config.mk FORCE
+	$(MAKE) -f make/makefile.mk distclean
 
 compile: config.mk FORCE
 	$(MAKE) -f make/makefile.mk compile
--- a/make/makefile.mk	Sun Nov 30 14:40:39 2025 +0100
+++ b/make/makefile.mk	Sun Nov 30 15:05:21 2025 +0100
@@ -31,11 +31,11 @@
 	@echo "[ Dist created: $(dist_dir)/ucx-$(VERSION).tar.gz ]"
 
 clean: FORCE
+	$(RMDIR) $(dist_dir)
 	$(RMDIR) $(build_dir)
 
-dist-clean: FORCE
-	$(RMDIR) $(dist_dir)
-	$(RMDIR) $(build_dir)
+distclean: clean FORCE
+	$(RMFILE) $(root_dir)/config.mk
 
 compile: static shared
 

mercurial