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