From 22333920dc81e993ffe331b0c2b90d6242e8398c Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 9 Jun 2024 13:56:28 +0100 Subject: [PATCH 1/1] Makefile: Don't create random directories in the working tree. Most noticeably `man'. I don't know what the old runes were trying to do, but they don't seem to do anything useful. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ec9db52..68f8bb5 100644 --- a/Makefile +++ b/Makefile @@ -628,7 +628,7 @@ $(foreach a,$(ALL_ARCHS),\ $(foreach a,$(ALL_ARCHS),\ $(foreach d,$(LOCAL_ARCH_LINKS),$(LOCAL)/$a/$d)): \ $$(if $$(call symlink-ok-p,$$@,$$($$(notdir $$@)_LINKDEST)),,_force) - $(V_AT)mkdir -p $(notdir $@) + $(V_AT)mkdir -p $(dir $@) $(call v_tag,SYMLINK)ln -sf $($(notdir $@)_LINKDEST) $@ $(foreach a,$(ALL_ARCHS),\ $(foreach d,$(LOCAL_COMMON_DIRS),$(LOCAL)/$a/$d)): \ -- 2.11.0