Test for rsvg-convert in configure.ac
If it's not present, we just don't install the icon.
This commit is contained in:
+6
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user