summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-08-28 11:53:01 +0200
committerDaniel Friesel <derf@finalrewind.org>2016-08-28 11:53:01 +0200
commitd176368fff6c3083378fb1d727cc6f35a15fabd3 (patch)
treee9495df89fc1bb8054572b87b05a5bda01834e4c /Makefile
parent141e3a8d45e140f9b2b1ea83cfcae13764e203cb (diff)
Only install icons to /usr/share when running make install app=1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 900fcb0..258461e 100644
--- a/Makefile
+++ b/Makefile
@@ -80,7 +80,7 @@ install-icon:
@echo installing icon to ${scalable_icon_dir}
@mkdir -p ${scalable_icon_dir}
@cp share/images/feh.svg ${scalable_icon_dir}
- @if which gtk-update-icon-cache > /dev/null 2>&1; then \
+ @if test "${app}" = 1 && which gtk-update-icon-cache > /dev/null 2>&1; then \
gtk-update-icon-cache ${icon_dir}; \
fi