From: Mark Wooding Date: Sun, 9 Jun 2024 12:56:28 +0000 (+0100) Subject: Makefile: Don't create random directories in the working tree. X-Git-Url: https://git.distorted.org.uk/~mdw/distorted-chroot/commitdiff_plain/22333920dc81e993ffe331b0c2b90d6242e8398c?hp=a914e8822d4102c41faedb42cbdbea69f995f2c4 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. --- 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)): \