From d176368fff6c3083378fb1d727cc6f35a15fabd3 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 28 Aug 2016 11:53:01 +0200 Subject: Only install icons to /usr/share when running make install app=1 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3