Skip to content

Commit ba9319e

Browse files
a-andreedalm
authored andcommitted
doc: Fix deprecation warning
> WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"
1 parent 9947fae commit ba9319e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/sphinx/defines.mk

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
CONVERT = convert -density 300
1+
ifeq (, $(shell command -v magick))
2+
CONVERT = convert -density 300
3+
else
4+
CONVERT = magick -density 300
5+
endif
6+
27
DIA = dia
38
DOT = dot
49
EPSTOPDF = epstopdf

0 commit comments

Comments
 (0)