summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-08-20 08:39:45 +0200
committerDaniel Friesel <derf@finalrewind.org>2016-08-20 08:39:45 +0200
commit2ae5be1ed58d9aea1502a7a90626e87fa1ac560d (patch)
treeaa77135296c74ee6d11906cd03dcb4daf976c0dc /Makefile
parentd97873a2bf754ed2702e08236eadd5990d96416a (diff)
Makefile: Only call gtk-update-icon-cache if available
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
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}