From 2ae5be1ed58d9aea1502a7a90626e87fa1ac560d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 20 Aug 2016 08:39:45 +0200 Subject: Makefile: Only call gtk-update-icon-cache if available --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 099bf5e..8a12cfc 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,9 @@ install-icon: @echo installing icon to ${scalable_icon_dir} @mkdir -p ${scalable_icon_dir} @cp share/images/feh.svg ${scalable_icon_dir} - @gtk-update-icon-cache ${icon_dir} + @if which gtk-update-icon-cache > /dev/null 2>&1; then \ + gtk-update-icon-cache ${icon_dir}; \ + fi install-examples: @echo installing examples to ${example_dir} -- cgit v1.2.3