summaryrefslogtreecommitdiff
path: root/icons/Makefile.am
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-07-05 17:50:48 +0200
committerRobert Antoni Buj Gelonch <[email protected]>2019-07-24 12:15:39 +0200
commit560dd38d0a444cdcd4916c739f53acc924e66578 (patch)
tree2e009ecab6b277e188a3f3fd3a593d5a08d9fb9c /icons/Makefile.am
parentc8502b890d0e308456b1b22cf8c6cbe396ed8545 (diff)
downloadmate-desktop-560dd38d0a444cdcd4916c739f53acc924e66578.tar.bz2
mate-desktop-560dd38d0a444cdcd4916c739f53acc924e66578.tar.xz
make 'rsvg-convert' optional
Diffstat (limited to 'icons/Makefile.am')
-rw-r--r--icons/Makefile.am2
1 files changed, 2 insertions, 0 deletions
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)