From 560dd38d0a444cdcd4916c739f53acc924e66578 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Fri, 5 Jul 2019 17:50:48 +0200 Subject: make 'rsvg-convert' optional --- icons/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'icons') diff --git a/icons/Makefile.am b/icons/Makefile.am index 74c57b5..b8bc6ad 100644 --- a/icons/Makefile.am +++ b/icons/Makefile.am @@ -29,6 +29,7 @@ update-icon-cache: echo "*** $(gtk_update_icon_cache)"; \ fi +if HAVE_RSVG_CONVERT build-png-icons: $(RSVG_CONVERT) -w 16 -h 16 scalable/apps/mate-desktop.svg -o 16x16/apps/mate-desktop.png $(RSVG_CONVERT) -w 22 -h 22 scalable/apps/mate-desktop.svg -o 22x22/apps/mate-desktop.png @@ -36,6 +37,7 @@ build-png-icons: $(RSVG_CONVERT) -w 32 -h 32 scalable/apps/mate-desktop.svg -o 32x32/apps/mate-desktop.png $(RSVG_CONVERT) -w 48 -h 48 scalable/apps/mate-desktop.svg -o 48x48/apps/mate-desktop.png $(RSVG_CONVERT) -w 128 -h 128 scalable/apps/mate-desktop.svg -o 128x128/apps/mate-desktop.png +endif clean-png-icons: rm -f $(png_icons) -- cgit v1.2.1