diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-08-20 08:39:45 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-08-20 08:39:45 +0200 |
commit | 2ae5be1ed58d9aea1502a7a90626e87fa1ac560d (patch) | |
tree | aa77135296c74ee6d11906cd03dcb4daf976c0dc /Makefile | |
parent | d97873a2bf754ed2702e08236eadd5990d96416a (diff) |
Makefile: Only call gtk-update-icon-cache if available
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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} |