From 5c82ac9bc5db79a1c55a7777d8509c1555ee106a Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Tue, 8 Sep 2026 08:19:20 +0100 Subject: finding out_deps_without_src works even if out/ doesn't exist before-hand --- http/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'http') diff --git a/http/Makefile b/http/Makefile index c3034a1..eb2a0b3 100644 --- a/http/Makefile +++ b/http/Makefile @@ -17,7 +17,7 @@ remove_all_layouts = $(call remove_layouts,$(layouts),$(1)) remove_layouts = $(let first rest,$(1),$(call remove_layout,$(first),$(if $(rest),$(call remove_layouts,$(rest),$(2)),$(2)))) remove_layout = $(subst .$(1).upp,.,$(2)) out_deps := $(subst .upp,.,$(call remove_all_layouts,$(addprefix out/,$(src_files:src/%=%)))) -out_deps_without_src := $(filter-out $(out_deps),$(shell find -L out -type f)) +out_deps_without_src := $(filter-out $(out_deps),$(shell mkdir -p out && find -L out -type f)) out_deps += $(out_deps_without_src) blogs := $(subst blogs/,,$(wildcard blogs/*)) -- cgit v1.2.3