summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-08-20 08:31:46 +0200
committerDaniel Friesel <derf@finalrewind.org>2016-08-20 08:31:46 +0200
commitd97873a2bf754ed2702e08236eadd5990d96416a (patch)
tree12420e298f397cb3a212f221d14b28a24c69289d /Makefile
parent021dac447b2b1335b619fb3420638ae6e2e59a27 (diff)
parentec8a605e62bc446f2d72101826472efab92a25fc (diff)
Merge branch 'freedesktop-icon' of https://github.com/codehearts/feh into codehearts-freedesktop-icon
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e52073a..099bf5e 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ test-x11: all
prove test/feh-bg-i.t
install: install-man install-doc install-bin install-font install-img
-install: install-examples install-applications
+install: install-icon install-examples install-applications
ifeq (${cam},1)
install: install-cam
@@ -73,6 +73,15 @@ install-img:
@cp share/images/* ${image_dir}
@chmod 644 ${image_dir}/*
+install-icon:
+ @echo installing icon to ${48_icon_dir}
+ @mkdir -p ${48_icon_dir}
+ @cp share/images/feh.png ${48_icon_dir}
+ @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}
+
install-examples:
@echo installing examples to ${example_dir}
@mkdir -p ${example_dir}