diff --git a/doc/Makefile b/doc/Makefile
index b9fd88395b2ca3a84cd4de24648bbd49ff8914c7..1da6042002fa775ca6dbd688a65a8d6bfdf95b4f 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -127,7 +127,7 @@ doctest:
 	      "results in $(BUILDDIR)/doctest/output.txt."
 
 %.pdf: %.svg
-	rsvg-convert -f pdf -o $@ $<
+	inkscape --export-pdf=$@ $<
 
 # Make tutorial scripts by extracting the (complete!) context of the "patches".
 # We make sure not to use 'wiggle' here.