From b855fbc9adac461e6431010cfa66b27fb1d8c962 Mon Sep 17 00:00:00 2001 From: Rhiannon Morris Date: Sun, 19 Jul 2020 00:11:42 +0200 Subject: [PATCH] make tall images a little bigger --- Makefile | 3 ++- make-pages/Depend.hs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 14603b1..aadf8b1 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,8 @@ INFONAME = info.yaml # SMALL = thumbnails, MED = single pages (link to full size) SMALL := 200 -MED := 1000 +MEDW := 1000 +MEDH := 1200 MAKEPAGES = $(TMPDIR)/make-pages diff --git a/make-pages/Depend.hs b/make-pages/Depend.hs index 03f320b..e3a339f 100644 --- a/make-pages/Depend.hs +++ b/make-pages/Depend.hs @@ -105,7 +105,7 @@ makeRules prefix filters build data_ tmp = [b|@0 $@buildPrefix/%_med.png: $@data_/%.png echo "[resize] "$$@ mkdir -p $$(dir $$@) - convert -resize '$$(MED)x$$(MED)>' "$$<" "$$@" + convert -resize '$$(MEDW)x$$(MEDH)>' "$$<" "$$@" |] where buildPrefix = build prefix