make tall images a little bigger
This commit is contained in:
parent
6eabbccae7
commit
b855fbc9ad
2 changed files with 3 additions and 2 deletions
3
Makefile
3
Makefile
|
@ -5,7 +5,8 @@ INFONAME = info.yaml
|
||||||
|
|
||||||
# SMALL = thumbnails, MED = single pages (link to full size)
|
# SMALL = thumbnails, MED = single pages (link to full size)
|
||||||
SMALL := 200
|
SMALL := 200
|
||||||
MED := 1000
|
MEDW := 1000
|
||||||
|
MEDH := 1200
|
||||||
|
|
||||||
MAKEPAGES = $(TMPDIR)/make-pages
|
MAKEPAGES = $(TMPDIR)/make-pages
|
||||||
|
|
||||||
|
|
|
@ -105,7 +105,7 @@ makeRules prefix filters build data_ tmp = [b|@0
|
||||||
$@buildPrefix/%_med.png: $@data_/%.png
|
$@buildPrefix/%_med.png: $@data_/%.png
|
||||||
echo "[resize] "$$@
|
echo "[resize] "$$@
|
||||||
mkdir -p $$(dir $$@)
|
mkdir -p $$(dir $$@)
|
||||||
convert -resize '$$(MED)x$$(MED)>' "$$<" "$$@"
|
convert -resize '$$(MEDW)x$$(MEDH)>' "$$<" "$$@"
|
||||||
|]
|
|]
|
||||||
where
|
where
|
||||||
buildPrefix = build </> prefix
|
buildPrefix = build </> prefix
|
||||||
|
|
Loading…
Reference in a new issue