From e9a69b140a9aa44223c40d56aa738479131600fd Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 11 Nov 2021 13:34:13 +0100 Subject: Fixes --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 651401a..1cf364e 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,7 @@ subpages = $(patsubst content/%.md,.cache/meta/%.json, \ mkdir -p $(@D) $(eval PAGES_FILES = $(filter .cache/meta/%.json,$^)) $(eval NAMESPACE = $(call namespace,$@,.cache/meta)) - $(if $(PAGES_FILES),jq -s --arg namespace "$(NAMESPACE)" -f scripts/subpages.jq $(PAGES_FILES) > "$@.pages",touch "$@.pages") + $(if $(PAGES_FILES),jq -s --arg namespace "$(NAMESPACE)" -f scripts/subpages.jq $(PAGES_FILES) > "$@.pages",echo "{}" > "$@.pages") pandoc \ -f markdown-citations \ -t html5 \ -- cgit v1.2.3-70-g09d2