summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
Diffstat (limited to 'http')
-rw-r--r--http/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/http/Makefile b/http/Makefile
index 1f725f0..5004c55 100644
--- a/http/Makefile
+++ b/http/Makefile
@@ -10,6 +10,7 @@ src_files += $(filter-out %.args,$(wildcard src/**/*.upp*))
src_files_ext := $(suffix $(src_files))
out_deps_ext := $(src_files_ext:.upp%=%)
+component_files := $(shell find -L share/components -type f)
layout_files := $(wildcard share/layouts/*.layout.upp*)
layouts := $(notdir $(basename $(basename $(layout_files))))
@@ -52,7 +53,7 @@ $(blog): $(blog_src)
endef
define blog_post_rule =
-$(blog_post_target): $(blog_post_src) $(let ext,html,$(layout_file))
+$(blog_post_target): $(blog_post_src) $(let ext,html,$(layout_file) $(component_files))
./bin/blog \
-i $(blog) \
$(if $(BLOG_LAYOUT_$(blog)),-l $(BLOG_LAYOUT_$(blog))) \