summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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}