mk: fix clean rule dependencies in build.mk

Issue #5015
This commit is contained in:
Christian Prochaska 2023-11-01 14:42:50 +01:00 committed by Christian Helmuth
parent a482bb8a89
commit f13463325a

View File

@ -474,10 +474,10 @@ clean_gen_files:
$(VERBOSE)rm -f $(LIB_PROGRESS_LOG) $(VERBOSE)rm -f $(LIB_PROGRESS_LOG)
$(VERBOSE)rm -f $(LIB_DEP_FILE) $(VERBOSE)rm -f $(LIB_DEP_FILE)
clean_install_dir: clean_install_dir: clean_targets clean_libcache
$(VERBOSE)(test -d $(INSTALL_DIR) && find $(INSTALL_DIR) -type l -not -readable -delete) || true $(VERBOSE)(test -d $(INSTALL_DIR) && find $(INSTALL_DIR) -type l -not -readable -delete) || true
clean_debug_dir: clean_debug_dir: clean_targets clean_libcache
$(VERBOSE)(test -d $(DEBUG_DIR) && find $(DEBUG_DIR) -type l -not -readable -delete) || true $(VERBOSE)(test -d $(DEBUG_DIR) && find $(DEBUG_DIR) -type l -not -readable -delete) || true
clean_empty_dirs: clean_targets clean_libcache clean_run clean_gen_files clean_install_dir clean_debug_dir clean_empty_dirs: clean_targets clean_libcache clean_run clean_gen_files clean_install_dir clean_debug_dir