From a14995b78f7b49da0b9ab664920a4dc5aee24ab8 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 3 Jan 2021 10:32:16 +0100 Subject: Use rsvg-convert instead of ImageMagick's convert. --- Makefile.am | 2 +- configure.ac | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 587c51c..4cad904 100644 --- a/Makefile.am +++ b/Makefile.am @@ -45,7 +45,7 @@ dist_infoimage_DATA = \ $(top_srcdir)/build-aux/generate-images.scm $(abs_top_srcdir)/$< %.svg.scm.png: %.svg.scm.svg - convert $< $@ + $(RSVG_CONVERT) -o $@ $< # We cannot add new dependencies to `%D%/picture-language.pdf' & # co. (info "(automake) Extending"). Using the `-local' rules is diff --git a/configure.ac b/configure.ac index 6617114..7deede7 100644 --- a/configure.ac +++ b/configure.ac @@ -31,6 +31,9 @@ if test "x$GUILD" = "x"; then AC_MSG_ERROR(['guild' binary not found; please check your Guile installation.]) fi +GUILE_MODULE_REQUIRED(rsvg) +AC_PATH_PROG([RSVG_CONVERT], [rsvg-convert]) + AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([env], [chmod +x env]) AC_OUTPUT -- cgit v1.2.3