aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-10-01 17:34:45 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-10-01 17:34:45 +0200
commit8e426dce452f6b558cdb08c11c53ba2ff1bd2c58 (patch)
tree2d7ccf6696e7a8fe507c1948abcc9b25f6bbd821 /templates
parentd659c48418fdd4b9ee45b89267b80847b62fae34 (diff)
downloadunterricht-8e426dce452f6b558cdb08c11c53ba2ff1bd2c58.tar.gz
unterricht-8e426dce452f6b558cdb08c11c53ba2ff1bd2c58.zip
make: quiz use magick instead of convert
Diffstat (limited to 'templates')
-rw-r--r--templates/quiz/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/quiz/Makefile b/templates/quiz/Makefile
index 1d424dec..202b8500 100644
--- a/templates/quiz/Makefile
+++ b/templates/quiz/Makefile
@@ -7,10 +7,10 @@ JPGS:=$(QUESTIONS:.tex=.jpg)
all: $(PDFS) $(PNGS) $(JPGS)
%.jpg: %.pdf
- convert -density 600 -quality 100 $< -flatten -sharpen 0x1.0 $@
+ magick -density 600 -quality 100 $< -flatten -sharpen 0x1.0 $@
%.png: %.pdf
- convert -density 600 -quality 100 $< -flatten -sharpen 0x1.0 $@
+ magick -density 600 -quality 100 $< -flatten -sharpen 0x1.0 $@
COMMON_MK = $(shell bash -c 'upfind() { [[ -f "$$1" ]] && printf "$$1" || ([ "$$(realpath $$(dirname "$$1"))" == "/" ] || upfind "../$$1") }; upfind common.mk')
include $(COMMON_MK)