diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2011-01-26 15:33:24 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2011-01-26 15:33:24 -0500 |
commit | 26ef22e3f479259890bf856a66a8a5fbf6fc7d30 (patch) | |
tree | 3d38cabb9af94b044191469c3560a70030d4e9c1 /data | |
parent | f58d8ca1bd20180bfae3a3a047e8098e0b22b5aa (diff) |
Test for rsvg-convert in configure.ac
If it's not present, we just don't install the icon.
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index d03a58c1..320a226d 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 |