summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index d03a58c..320a226 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -20,7 +20,11 @@ dist_waylanddata_DATA = \
top_side.png \
xterm.png \
wayland.svg \
- wayland.png
+ $(wayland_icon_png)
+
+if HAVE_RSVG_CONVERT
+wayland_icon_png = wayland.png
wayland.png : wayland.svg
- rsvg-convert -w 128 -h 128 wayland.svg -o wayland.png
+ $(RSVG_CONVERT) -w 128 -h 128 wayland.svg -o wayland.png
+endif