From 83e0b913093d9a4cac717b75a8e3cb73ed8db5e7 Mon Sep 17 00:00:00 2001 From: Anton Midyukov Date: Tue, 22 Jun 2021 19:11:04 +0700 Subject: [PATCH] clean.mk: do not run twice make clean (distclean) The build directory is normally removed after make clean. --- lib/clean.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/clean.mk b/lib/clean.mk index 71df3781..8d3c24f2 100644 --- a/lib/clean.mk +++ b/lib/clean.mk @@ -43,8 +43,6 @@ distclean: clean echo "** ERROR: invalid \`"$(SYMLINK)"' symlink" >&2; \ exit 128; \ else \ - $(MAKE) -C "$(SYMLINK)" $@ \ - GLOBAL_BUILDDIR="$$build" $(LOG) ||:; \ rm -rf "$$build"; \ fi; \ fi; \