From 9b74394e4b33d112e243f25b8367e5a00d50cc11 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Tue, 7 May 2024 16:53:15 +0300 Subject: [PATCH] feat(rules): Include cropped versions of PDFS in pdfs build by default --- rules/rules.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules/rules.mk b/rules/rules.mk index 64cb4d38..8f57c1af 100644 --- a/rules/rules.mk +++ b/rules/rules.mk @@ -285,6 +285,8 @@ VIRTUALEDITPDFS := $(and $(EDITS),$(call pattern_list,$(SOURCES),$(EDITS),.pdfs) $(VIRTUALPDFS) $(VIRTUALEDITPDFS): %.pdfs: $(call pattern_list,$$*,$(LAYOUTS),.pdf) $(VIRTUALPDFS): %.pdfs: $(and $(EDITIONS),$(call pattern_list,$$*,$(EDITIONS),$(LAYOUTS),.pdf)) $(VIRTUALEDITPDFS): %.pdfs: $$(and $(EDITIONS),$(EDITS),$$(call pattern_list,$$(call parse_bookid,$$*),$(EDITIONS),$(EDITS),$(LAYOUTS),.pdf)) +ACTIVEBOUNDLAYOUTS = $(filter $(BOUNDLAYOUTS),$(LAYOUTS)) +$(VIRTUALPDFS): %.pdfs: $(and $(ACTIVEBOUNDLAYOUTS),$(call pattern_list,$$*,$(ACTIVEBOUNDLAYOUTS),$(_cropped),.pdf)) # Setup target dependencies to mimic stages of a CI pipeline ifeq ($(MAKECMDGOALS),ci)