diff options
| author | Joe Carstairs <me@joeac.net> | 2026-09-08 08:19:20 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-09-08 08:19:20 +0100 |
| commit | 5c82ac9bc5db79a1c55a7777d8509c1555ee106a (patch) | |
| tree | 48edd30e19cebc8edeaae32ebe0caac52e12c323 | |
| parent | 79988a5e5cd7bd219a5278d44db64d49e764a747 (diff) | |
finding out_deps_without_src works even if out/ doesn't exist
before-hand
| -rw-r--r-- | http/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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/*)) |
